Raw.ChannelParticipantCreator
Channel/supergroup creator
channelParticipantCreator#2fe601d3 flags:# user_id:long admin_rights:ChatAdminRights rank:flags.0?string = ChannelParticipant;
export namespace Raw {
export class ChannelParticipantCreator {
constructor(params: { userId: bigint; adminRights: Raw.TypeChatAdminRights; rank?: string }) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x2fe601d3
Property
userId
: bigintUser id
adminRights
: Raw.TypeChatAdminRightsCreator admin rights
rank
: string or undefinedThe role (rank) of the group creator in the group: just an arbitrary string, admin by default