Update API

This commit is contained in:
Ilya Laktyushin
2024-07-01 20:23:26 +04:00
parent 0a08c0908b
commit a28ec1d157
10 changed files with 219 additions and 63 deletions

View File

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