Update API scheme on layer 223.

This commit is contained in:
John Preston
2026-02-16 13:33:13 +04:00
parent 5c62bce037
commit 5ab68c9ebb
2 changed files with 2 additions and 1 deletions
@@ -314,6 +314,7 @@ ChatParticipant::ChatParticipant(
_restrictions = ChatRestrictionsInfo(data.vbanned_rights());
_by = peerToUser(peerFromUser(data.vkicked_by()));
_date = data.vdate().v;
_rank = qs(data.vrank().value_or_empty());
_type = (_restrictions.flags & ChatRestriction::ViewMessages)
? Type::Banned
+1 -1
View File
@@ -750,7 +750,7 @@ channelParticipant#1bd54456 flags:# user_id:long date:int subscription_until_dat
channelParticipantSelf#a9478a1a flags:# via_request:flags.0?true user_id:long inviter_id:long date:int subscription_until_date:flags.1?int rank:flags.2?string = ChannelParticipant;
channelParticipantCreator#2fe601d3 flags:# user_id:long admin_rights:ChatAdminRights rank:flags.0?string = ChannelParticipant;
channelParticipantAdmin#34c3bb53 flags:# can_edit:flags.0?true self:flags.1?true user_id:long inviter_id:flags.1?long promoted_by:long date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant;
channelParticipantBanned#6df8014e flags:# left:flags.0?true peer:Peer kicked_by:long date:int banned_rights:ChatBannedRights = ChannelParticipant;
channelParticipantBanned#d5f0ad91 flags:# left:flags.0?true peer:Peer kicked_by:long date:int banned_rights:ChatBannedRights rank:flags.2?string = ChannelParticipant;
channelParticipantLeft#1b03f006 peer:Peer = ChannelParticipant;
channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter;