Raw.BusinessGreetingMessage

Raw.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.

businessGreetingMessage#e519abab shortcut_id:int recipients:BusinessRecipients no_activity_days:int = BusinessGreetingMessage;
export namespace Raw {
  export class BusinessGreetingMessage {
    constructor(params: {
      shortcutId: number;
      recipients: Raw.TypeBusinessRecipients;
      noActivityDays: number;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xe519abab

Property

  • shortcutId : number

    Id of a quick reply shorcut, containing the greeting messages to send, see here for more info.

  • recipients : Raw.TypeBusinessRecipients

    Allowed recipients for the greeting messages.

  • noActivityDays : number

    The number of days after which a private chat will be considered as inactive; currently, must be one of 7, 14, 21, or 28.