Constructor: inputBusinessGreetingMessage
Describes a Telegram Business greeting, automatically sent to new users writing to us in private for the first time, or after a certain inactivity period.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
shortcut_id | int | Yes | ID of a quick reply shorcut, containing the greeting messages to send, see here » for more info. |
recipients | InputBusinessRecipients | Yes | Allowed recipients for the greeting messages. |
no_activity_days | int | Yes | The number of days after which a private chat will be considered as inactive; currently, must be one of 7, 14, 21, or 28. |
Type: InputBusinessGreetingMessage
Example:
$inputBusinessGreetingMessage = ['_' => 'inputBusinessGreetingMessage', 'shortcut_id' => int, 'recipients' => InputBusinessRecipients, 'no_activity_days' => int];