Update API [skip ci]

This commit is contained in:
Ilya Laktyushin
2023-01-18 20:35:08 +04:00
parent 71f367027d
commit 96579d1c80
5 changed files with 43 additions and 0 deletions

View File

@@ -469,6 +469,9 @@ func _internal_fetchAndUpdateCachedPeerData(accountPeerId: PeerId, peerId rawPee
if (flags2 & Int32(1 << 1)) != 0 {
channelFlags.insert(.antiSpamEnabled)
}
if (flags2 & Int32(1 << 3)) != 0 {
channelFlags.insert(.translationHidden)
}
let sendAsPeerId = defaultSendAs?.peerId