Link Search Menu Expand Document

Constructor: businessGreetingMessage

Back to constructors index

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:

NameTypeRequiredDescription
shortcut_idintYesID of a quick reply shorcut, containing the greeting messages to send, see here » for more info.
recipientsBusinessRecipientsYesAllowed recipients for the greeting messages.
no_activity_daysintYesThe number of days after which a private chat will be considered as inactive; currently, must be one of 7, 14, 21, or 28.

Type: BusinessGreetingMessage

Example:

$businessGreetingMessage = ['_' => 'businessGreetingMessage', 'shortcut_id' => int, 'recipients' => BusinessRecipients, 'no_activity_days' => int];