mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Update API [skip ci]
This commit is contained in:
@@ -435,7 +435,8 @@ private func uploadedMediaImageContent(network: Network, postbox: Postbox, trans
|
||||
stickers = stickersValue
|
||||
flags |= 1 << 0
|
||||
}
|
||||
break
|
||||
} else if let _ = attribute as? MediaSpoilerMessageAttribute {
|
||||
flags |= 1 << 2
|
||||
}
|
||||
}
|
||||
return postbox.transaction { transaction -> Api.InputPeer? in
|
||||
@@ -740,6 +741,8 @@ private func uploadedMediaFileContent(network: Network, postbox: Postbox, auxili
|
||||
if let attribute = attribute as? AutoclearTimeoutMessageAttribute {
|
||||
flags |= 1 << 1
|
||||
ttlSeconds = attribute.timeout
|
||||
} else if let _ = attribute as? MediaSpoilerMessageAttribute {
|
||||
flags |= 1 << 5
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user