MadelineProtoDocs/docs/API_docs/constructors/channelParticipantCreator.md

911 B

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
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, 'rank' => 'string'];

Or, if you're into Lua:

channelParticipantCreator={_='channelParticipantCreator', user_id=int, rank='string'}