mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Support view as messages api
This commit is contained in:
@@ -194,6 +194,10 @@ public extension TelegramEngine {
|
||||
}
|
||||
|
||||
public func _internal_resolveInlineStickers(postbox: Postbox, network: Network, fileIds: [Int64]) -> Signal<[Int64: TelegramMediaFile], NoError> {
|
||||
if fileIds.isEmpty {
|
||||
return .single([:])
|
||||
}
|
||||
|
||||
return postbox.transaction { transaction -> [Int64: TelegramMediaFile] in
|
||||
var cachedFiles: [Int64: TelegramMediaFile] = [:]
|
||||
for fileId in fileIds {
|
||||
|
||||
Reference in New Issue
Block a user