BusinessAwayMessage¶
- class pyrogram.types.BusinessAwayMessage¶
Represents an automated away message for business accounts.
- Parameters:
shortcut_id (
int) – ID of the quick reply shortcut containing the message.recipients (
BusinessRecipients) – Recipients who will receive this away message.schedule_type (
str) – Type of schedule. One of: “always”, “outside_work_hours”, “custom”.offline_only (
bool, optional) – Only send when the account is offline.start_date (
datetime, optional) – For “custom” schedule: start date.end_date (
datetime, optional) – For “custom” schedule: end date.