Layer 224
InputBusinessGreetingMessageObj
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
inputBusinessGreetingMessage#194cb3b shortcut_id:int recipients:InputBusinessRecipients no_activity_days:int = InputBusinessGreetingMessage;
Parameters
| Name | Type | Description |
|---|---|---|
| ShortcutId | int | ID of a quick reply shorcut, containing the greeting messages to send, see here for more info. |
| Recipients | InputBusinessRecipients | 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
InputBusinessGreetingMessageGogram Example
// Creating InputBusinessGreetingMessageObj constructor obj := &tg.InputBusinessGreetingMessageObj{ ShortcutId: 42, Recipients: &tg.InputBusinessRecipients{}, NoActivityDays: 42, }