InputBusinessAwayMessage
- class pyrogram.raw.base.InputBusinessAwayMessage
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.
- Constructors:
This base type has 1 constructor available.
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.
TL Schema
inputBusinessAwayMessage#832175e0
flags:#
offline_only:flags.0?true
shortcut_id:int
schedule:BusinessAwayMessageSchedule
recipients:InputBusinessRecipients
= InputBusinessAwayMessage
Parameter Tree
InputBusinessAwayMessage
├── offline_only →
true (optional)├── shortcut_id →
int├── schedule →
BusinessAwayMessageSchedule│ ├── start_date →
int│ └── end_date →
int└── recipients →
InputBusinessRecipients├── existing_chats →
true (optional)├── new_chats →
true (optional)├── contacts →
true (optional)├── non_contacts →
true (optional)├── exclude_selected →
true (optional)└── users →
Vector < InputUser > (optional)├──
InputUserEmpty├──
InputUserSelf├──
InputUser│ ├── user_id →
long│ └── access_hash →
long├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ ├──
InputPeerUser│ ├──
InputPeerChannel│ ├──
InputPeerUserFromMessage├── msg_id →
int└── user_id →
longExample
InputBusinessAwayMessage(
offline_only=None,
shortcut_id=0,
schedule=BusinessAwayMessageScheduleAlways(),
recipients=InputBusinessRecipients(
existing_chats=None,
new_chats=None,
contacts=None,
non_contacts=None,
exclude_selected=None,
users=None
),
)