Update API

This commit is contained in:
Ilya Laktyushin
2025-01-18 21:28:00 +04:00
parent ef6c097f6f
commit 4ffb0e697e
26 changed files with 12283 additions and 12056 deletions

View File

@@ -630,6 +630,9 @@ func _internal_fetchAndUpdateCachedPeerData(accountPeerId: PeerId, peerId rawPee
if (flags2 & Int32(1 << 15)) != 0 {
channelFlags.insert(.canViewStarsRevenue)
}
if (flags2 & Int32(1 << 19)) != 0 {
channelFlags.insert(.starGiftsAvailable)
}
let sendAsPeerId = defaultSendAs?.peerId
let linkedDiscussionPeerId: PeerId?