Layer 220
BusinessGreetingMessage
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.
constructor
businessGreetingMessage#e519abab shortcut_id:int recipients:BusinessRecipients no_activity_days:int = BusinessGreetingMessage;
Parameters
| Name | Type | Description |
|---|---|---|
| ShortcutId | int | ID of a quick reply shorcut, containing the greeting messages to send, see here for more info. |
| Recipients | BusinessRecipients | Allowed recipients for the greeting messages. |
| NoActivityDays | int | The number of days after which a private chat will be considered as inactive; currently, must be one of 7, 14, 21, or 28. |
Returns
BusinessGreetingMessageGogram Example
// Creating BusinessGreetingMessage constructor obj := &tg.BusinessGreetingMessage{ ShortcutId: 0, Recipients: &tg.BusinessRecipients{}, NoActivityDays: 0, }