Link Search Menu Expand Document

Constructor: channelParticipantCreator

Back to constructors index

Channel/supergroup creator

Attributes:

NameTypeRequiredDescription
user_idlongYesUser ID
admin_rightsChatAdminRightsYesCreator admin rights
rankstringOptionalThe role (rank) of the group creator in the group: just an arbitrary string, admin by default

Type: ChannelParticipant

Example:

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