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

Gogram Example

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