mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
refactor and cleanup [skip ci]
This commit is contained in:
14
submodules/Postbox/Sources/PeerChatInterfaceState.swift
Normal file
14
submodules/Postbox/Sources/PeerChatInterfaceState.swift
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user