mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
15 lines
473 B
Swift
15 lines
473 B
Swift
|
|
public protocol PeerChatListEmbeddedInterfaceState: PostboxCoding {
|
|
var timestamp: Int32 { get }
|
|
|
|
func isEqual(to: PeerChatListEmbeddedInterfaceState) -> Bool
|
|
}
|
|
|
|
public protocol PeerChatInterfaceState: PostboxCoding {
|
|
var chatListEmbeddedState: PeerChatListEmbeddedInterfaceState? { get }
|
|
var historyScrollMessageIndex: MessageIndex? { get }
|
|
var associatedMessageIds: [MessageId] { get }
|
|
|
|
func isEqual(to: PeerChatInterfaceState) -> Bool
|
|
}
|