businessBotRecipients
Specifies the private chats that a connected business bot » may receive messages and interact with.
type tg.BusinessBotRecipients struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
ExistingChats | bool | — | Selects all existing private chats. |
NewChats | bool | — | Selects all new private chats. |
Contacts | bool | — | Selects all private chats with contacts. |
NonContacts | bool | — | Selects all private chats with non-contacts. |
ExcludeSelected | bool | — | 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
- Official documentation
- Generated Go reference
- TL definition:
businessBotRecipients#b88cf373