Raw.InputBusinessBotRecipients
Specifies the private chats that a connected business bot may interact with.
inputBusinessBotRecipients#c4e5921e flags:# existing_chats:flags.0?true new_chats:flags.1?true contacts:flags.2?true non_contacts:flags.3?true exclude_selected:flags.5?true users:flags.4?Vector<InputUser> exclude_users:flags.6?Vector<InputUser> = InputBusinessBotRecipients;
export namespace Raw {
export class InputBusinessBotRecipients {
constructor(params: {
existingChats?: boolean;
newChats?: boolean;
contacts?: boolean;
nonContacts?: boolean;
excludeSelected?: boolean;
users?: Array<Raw.TypeInputUser>;
excludeUsers?: Array<Raw.TypeInputUser>;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xc4e5921e
Property
existingChats
: boolean or undefinedSelects all existing private chats.
newChats
: boolean or undefinedSelects all new private chats.
contacts
: boolean or undefinedSelects all private chats with contacts.
nonContacts
: boolean or undefinedSelects all private chats with non-contacts.
excludeSelected
: boolean or undefinedIf set, then all private chats except the ones selected by existingChats, newChats, contacts, nonContacts and users are chosen. note that if this flag is set, any values passed in excludeUsers will be merged and moved into users by the server.
users
: Array of Raw.TypeInputUser or undefinedExplicitly selected private chats.
excludeUsers
: Array of Raw.TypeInputUser or undefinedIdentifiers of private chats that are always excluded.