Constructor: inputBusinessRecipients
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 Username, chat ID, Update, Message or InputUser | Optional | Only private chats with the specified users. |
Type: InputBusinessRecipients
Example:
$inputBusinessRecipients = ['_' => 'inputBusinessRecipients', 'existing_chats' => Bool, 'new_chats' => Bool, 'contacts' => Bool, 'non_contacts' => Bool, 'exclude_selected' => Bool, 'users' => [InputUser, InputUser]];