telegram api constructor · layer 229 · #b88cf373

businessBotRecipients

Specifies the private chats that a connected business bot » may receive messages and interact with.

definition

businessBotRecipients#b88cf373 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<long> exclude_users:flags.6?Vector<long> = BusinessBotRecipients;

parameters

nametypedescription
flags#Flags, see TL conditional fields
existing_chatsflags.0?trueSelects all existing private chats.
new_chatsflags.1?trueSelects all new private chats.
contactsflags.2?trueSelects all private chats with contacts.
non_contactsflags.3?trueSelects all private chats with non-contacts.
exclude_selectedflags.5?trueIf set, then all private chats except the ones selected by existing_chats, new_chats, contacts, non_contacts and users are chosen. Note that if this flag is set, any values passed in exclude_users will be merged and moved into users by the server, thus exclude_users will always be empty.
usersflags.4?Vector<long>Explicitly selected private chats.
exclude_usersflags.6?Vector<long>Identifiers of private chats that are always excluded.

type

BusinessBotRecipients

history

present in layers 177–229

idlayers
#b88cf373177–229