MadelineProtoDocs/old_docs/API_docs_v105/constructors/channelParticipantCreator.md
2019-12-27 17:48:04 +01: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'}