Raw.messages.DeleteChatUser
Deletes a user from a chat and sends a service message on it.
messages.deleteChatUser#a2185cab flags:# revoke_history:flags.0?true chat_id:long user_id:InputUser = Updates;
export namespace Raw {
export namespace messages {
export class DeleteChatUser {
constructor(params: { revokeHistory?: boolean; chatId: bigint; userId: Raw.TypeInputUser }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xa2185cab
Property
revokeHistory
: boolean or undefinedRemove the entire chat history of the specified user in this chat.
chatId
: bigintChat id
userId
: Raw.TypeInputUserUser id to be deleted