Raw.InputBusinessGreetingMessage

Raw.InputBusinessGreetingMessage

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.

inputBusinessGreetingMessage#194cb3b shortcut_id:int recipients:InputBusinessRecipients no_activity_days:int = InputBusinessGreetingMessage;
export namespace Raw {
  export class InputBusinessGreetingMessage {
    constructor(params: {
      shortcutId: number;
      recipients: Raw.TypeInputBusinessRecipients;
      noActivityDays: number;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x194cb3b

Property

  • shortcutId : number

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

  • recipients : Raw.TypeInputBusinessRecipients

    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.