MadelineProtoDocs/docs/API_docs/constructors/channelParticipantCreator.md

1.0 KiB

title description image
channelParticipantCreator Channel/supergroup creator https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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'}