# Constructor: channelParticipantCreator

Back to constructors index

Channel/supergroup creator

# Attributes:

Name Type Required Description
user_id int Yes User ID
admin_rights ChatAdminRights Yes  
rank string Optional The role (rank) of the group creator in the group: just an arbitrary string, admin by default

# Type: ChannelParticipant

# Example:

$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, 'admin_rights' => ChatAdminRights, 'rank' => 'string'];

Or, if you’re into Lua:

channelParticipantCreator={_='channelParticipantCreator', user_id=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.