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 ChatBannedRights Yes Banned rights

Type: ChannelParticipant

Example:

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

Or, if you’re into Lua:

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

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.