Skip to main content

businessBotRecipients

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

type tg.BusinessBotRecipients 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, thus exclude_users will always be empty.
Users[]int64—Explicitly selected private chats.
ExcludeUsers[]int64—Identifiers of private chats that are always excluded.

References​