1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 09:07:47 +01:00
MadelineProto/docs/API_docs/constructors/channelParticipantBanned.md
2017-07-23 16:11:02 +02:00

1.2 KiB

title description
channelParticipantBanned channelParticipantBanned attributes, type and example

Constructor: channelParticipantBanned

Back to constructors index

Attributes:

Name Type Required
left Bool Optional
user_id int Yes
kicked_by int Yes
date int Yes
banned_rights ChannelBannedRights Yes

Type: ChannelParticipant

Example:

$channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights, ];

PWRTelegram json-encoded version:

{"_":"channelParticipantBanned","left":"Bool","user_id":"int","kicked_by":"int","date":"int","banned_rights":"ChannelBannedRights"}

Or, if you're into Lua:

channelParticipantBanned={_='channelParticipantBanned', left=Bool, user_id=int, kicked_by=int, date=int, banned_rights=ChannelBannedRights, }