BusinessRecipients
- class pyrogram.raw.types.BusinessRecipients
Specifies the chats that can receive Telegram Business away » and greeting » messages.
Constructor of
BusinessRecipients.- Details:
Layer:
223ID:
21108FF7
- Parameters:
existing_chats (
bool, optional) – All existing private chats.new_chats (
bool, optional) – All new private chats.contacts (
bool, optional) – All private chats with contacts.non_contacts (
bool, optional) – All private chats with non-contacts.exclude_selected (
bool, optional) – If set, inverts the selection.users (List of
int64-bit, optional) – Only private chats with the specified users.
TL Schema
businessRecipients#21108ff7
flags:#
existing_chats:flags.0?true
new_chats:flags.1?true
contacts:flags.2?true
non_contacts:flags.3?true
exclude_selected:flags.5?true
users:flags.4?Vector<long>
= BusinessRecipients
Parameter Tree
BusinessRecipients
├── existing_chats →
true (optional)├── new_chats →
true (optional)├── contacts →
true (optional)├── non_contacts →
true (optional)├── exclude_selected →
true (optional)└── users →
Vector < long > (optional)Example
BusinessRecipients(
)