Constructor: channelParticipantAdmin

Back to constructors index

Channel participant admin


Name Type Required Description
can_edit Bool Optional Can edit?
self Bool Optional Is this the current user?
user_id int Yes User ID
inviter_id int Optional Inviter ID
promoted_by int Yes Promoted by
date int Yes Date
admin_rights ChatAdminRights Yes Admin rights
rank string Optional Admin’s rank, an arbitrary string

Type: ChannelParticipant


$channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'self' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChatAdminRights, 'rank' => 'string'];

Or, if you’re into Lua:

channelParticipantAdmin={_='channelParticipantAdmin', can_edit=Bool, self=Bool, user_id=int, inviter_id=int, promoted_by=int, date=int, admin_rights=ChatAdminRights, rank='string'}

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