Layer 220
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.

Gogram Example

// Creating InputBusinessGreetingMessage constructor
obj := &tg.InputBusinessGreetingMessage{
    ShortcutId: 0,
    Recipients: &tg.InputBusinessRecipients{},
    NoActivityDays: 0,
}