mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
17 lines
542 B
Swift
17 lines
542 B
Swift
import Foundation
|
|
import Postbox
|
|
|
|
enum InternalAccountState {
|
|
static func addMessages(transaction: Transaction, messages: [StoreMessage], location: AddMessagesLocation) -> [Int64 : MessageId] {
|
|
return transaction.addMessages(messages, location: location)
|
|
}
|
|
|
|
static func deleteMessages(transaction: Transaction, ids: [MessageId], forEachMedia: ((Media) -> Void)?) {
|
|
transaction.deleteMessages(ids, forEachMedia: forEachMedia)
|
|
}
|
|
|
|
static func invalidateChannelState(peerId: PeerId) {
|
|
|
|
}
|
|
}
|