MadelineProtoDocs/old_docs/API_docs_v71/constructors/channelParticipantBanned.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.2 KiB

title description image
channelParticipantBanned channelParticipantBanned attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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}