Constructor: businessRecipients
Specifies the chats that can receive Telegram Business away » and greeting » messages.
If exclude_selected
is set, specifies all chats that cannot receive Telegram Business away » and greeting » messages.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
existing_chats | Bool | Optional | All existing private chats. |
new_chats | Bool | Optional | All new private chats. |
contacts | Bool | Optional | All private chats with contacts. |
non_contacts | Bool | Optional | All private chats with non-contacts. |
exclude_selected | Bool | Optional | If set, inverts the selection. |
users | Array of long | Optional | Only private chats with the specified users. |
Type: BusinessRecipients
Example:
$businessRecipients = ['_' => 'businessRecipients', 'existing_chats' => Bool, 'new_chats' => Bool, 'contacts' => Bool, 'non_contacts' => Bool, 'exclude_selected' => Bool, 'users' => [long, long]];