Constructor: inputBusinessBotRecipients
Specifies the private chats that a connected business bot » may 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. |
users | Array of Username, chat ID, Update, Message or InputUser | Optional | Explicitly selected private chats. |
exclude_users | Array of Username, chat ID, Update, Message or InputUser | Optional | Identifiers of private chats that are always excluded. |
Type: InputBusinessBotRecipients
Example:
$inputBusinessBotRecipients = ['_' => 'inputBusinessBotRecipients', 'existing_chats' => Bool, 'new_chats' => Bool, 'contacts' => Bool, 'non_contacts' => Bool, 'exclude_selected' => Bool, 'users' => [InputUser, InputUser], 'exclude_users' => [InputUser, InputUser]];