Constructor: businessBotRecipients
Specifies the private chats that a connected business bot » may receive messages and interact with.
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| existing_chats | Bool | Optional | Selects all existing private chats. |
| new_chats | Bool | Optional | Selects all new private chats. |
| contacts | Bool | Optional | Selects all private chats with contacts. |
| non_contacts | Bool | Optional | Selects all private chats with non-contacts. |
| exclude_selected | Bool | Optional | 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 | Array of long | Optional | Explicitly selected private chats. |
| exclude_users | Array of long | Optional | Identifiers of private chats that are always excluded. |
Type: BusinessBotRecipients
Example:
$businessBotRecipients = ['_' => 'businessBotRecipients', 'existing_chats' => Bool, 'new_chats' => Bool, 'contacts' => Bool, 'non_contacts' => Bool, 'exclude_selected' => Bool, 'users' => [long, long], 'exclude_users' => [long, long]];