MadelineProtoDocs/old_docs/API_docs_v42/constructors/channelParticipantCreator.md
2020-09-12 12:47:38 +02:00

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