BusinessGreetingMessage#

class pyrogram.raw.types.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.

Constructor of BusinessGreetingMessage.

Details:
  • Layer: 187

  • ID: E519ABAB

Parameters:
  • shortcut_id (int 32-bit) – 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.

  • no_activity_days (int 32-bit) – The number of days after which a private chat will be considered as inactive; currently, must be one of 7, 14, 21, or 28.