BusinessAwayMessage#

class pyrogram.raw.types.BusinessAwayMessage#

Describes a Telegram Business away message, automatically sent to users writing to us when we’re offline, during closing hours, while we’re on vacation, or in some other custom time period when we cannot immediately answer to the user.

Constructor of BusinessAwayMessage.

Details:
  • Layer: 187

  • ID: EF156A5C

Parameters:
  • shortcut_id (int 32-bit) – ID of a quick reply shorcut, containing the away messages to send, see here » for more info.

  • schedule (BusinessAwayMessageSchedule) – Specifies when should the away messages be sent.

  • recipients (BusinessRecipients) – Allowed recipients for the away messages.

  • offline_only (bool, optional) – If set, the messages will not be sent if the account was online in the last 10 minutes.