mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-13 09:50:17 +00:00
12 lines
358 B
Swift
12 lines
358 B
Swift
import Postbox
|
|
|
|
private var telegramUIDeclaredEncodables: Void = {
|
|
declareEncodable(ChatInterfaceState.self, f: { ChatInterfaceState(decoder: $0) })
|
|
declareEncodable(ChatEmbeddedInterfaceState.self, f: { ChatEmbeddedInterfaceState(decoder: $0) })
|
|
return
|
|
}()
|
|
|
|
public func telegramUIDeclareEncodables() {
|
|
let _ = telegramUIDeclaredEncodables
|
|
}
|