MadelineProtoDocs/old_docs/API_docs_v72/constructors/channelParticipantBanned.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.3 KiB

title description image
channelParticipantBanned Channel participant banned https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelParticipantBanned

Back to constructors index

Channel participant banned

Attributes:

Name Type Required Description
left Bool Optional Left?
user_id int Yes User ID
kicked_by int Yes Kicked by
date int Yes Date
banned_rights ChannelBannedRights Yes Banned rights

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}