Skip to main content

inputBusinessBotRecipients

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

type tg.InputBusinessBotRecipients struct { /* ... */ }

Fields​

NameTypeRequiredDescription
ExistingChatsbool—Selects all existing private chats.
NewChatsbool—Selects all new private chats.
Contactsbool—Selects all private chats with contacts.
NonContactsbool—Selects all private chats with non-contacts.
ExcludeSelectedbool—If 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.
Users[]InputUserClass—Explicitly selected private chats.
ExcludeUsers[]InputUserClass—Identifiers of private chats that are always excluded.

References​