mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
refactor and cleanup [skip ci]
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import Foundation
|
||||
|
||||
public enum AdditionalMessageHistoryViewData {
|
||||
case cachedPeerData(PeerId)
|
||||
case cachedPeerDataMessages(PeerId)
|
||||
case peerChatState(PeerId)
|
||||
case totalUnreadState
|
||||
case peerNotificationSettings(PeerId)
|
||||
case cacheEntry(ItemCacheEntryId)
|
||||
case preferencesEntry(ValueBoxKey)
|
||||
case peer(PeerId)
|
||||
case peerIsContact(PeerId)
|
||||
}
|
||||
|
||||
public enum AdditionalMessageHistoryViewDataEntry {
|
||||
case cachedPeerData(PeerId, CachedPeerData?)
|
||||
case cachedPeerDataMessages(PeerId, [MessageId: Message]?)
|
||||
case peerChatState(PeerId, PeerChatState?)
|
||||
case totalUnreadState(ChatListTotalUnreadState)
|
||||
case peerNotificationSettings(PeerNotificationSettings?)
|
||||
case cacheEntry(ItemCacheEntryId, PostboxCoding?)
|
||||
case preferencesEntry(ValueBoxKey, PreferencesEntry?)
|
||||
case peerIsContact(PeerId, Bool)
|
||||
case peer(PeerId, Peer?)
|
||||
}
|
||||
Reference in New Issue
Block a user