Constructor: inputBusinessAwayMessage
Describes a Telegram Business away message, automatically sent to users writing to us when we’re offline, during closing hours, while we’re on vacation, or in some other custom time period when we cannot immediately answer to the user.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
offline_only | Bool | Optional | If set, the messages will not be sent if the account was online in the last 10 minutes. |
shortcut_id | int | Yes | ID of a quick reply shorcut, containing the away messages to send, see here » for more info. |
schedule | BusinessAwayMessageSchedule | Yes | Specifies when should the away messages be sent. |
recipients | InputBusinessRecipients | Yes | Allowed recipients for the away messages. |
Type: InputBusinessAwayMessage
Example:
$inputBusinessAwayMessage = ['_' => 'inputBusinessAwayMessage', 'offline_only' => Bool, 'shortcut_id' => int, 'schedule' => BusinessAwayMessageSchedule, 'recipients' => InputBusinessRecipients];