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
ExistingChatsboolSelects all existing private chats.
NewChatsboolSelects all new private chats.
ContactsboolSelects all private chats with contacts.
NonContactsboolSelects all private chats with non-contacts.
ExcludeSelectedboolIf 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[]int64Explicitly selected private chats.
ExcludeUsers[]int64Identifiers of private chats that are always excluded.

References