Raw.messages.EditChatAdmin
Make a user admin in a basic group.
messages.editChatAdmin#a85bd1c2 chat_id:long user_id:InputUser is_admin:Bool = Bool;
export namespace Raw {
export namespace messages {
export class EditChatAdmin {
constructor(params: { chatId: bigint; userId: Raw.TypeInputUser; isAdmin: boolean }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xa85bd1c2
Property
chatId
: bigintThe id of the group
userId
: Raw.TypeInputUserThe user to make admin
isAdmin
: booleanWhether to make them admin