Raw.messages.AddChatUser
Adds a user to a chat and sends a service message on it.
messages.addChatUser#cbc6d107 chat_id:long user_id:InputUser fwd_limit:int = messages.InvitedUsers;
export namespace Raw {
export namespace messages {
export class AddChatUser {
constructor(params: { chatId: bigint; userId: Raw.TypeInputUser; fwdLimit: number }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xcbc6d107
Property
chatId
: bigintChat id
userId
: Raw.TypeInputUserUser id to be added
fwdLimit
: numberNumber of last messages to be forwarded