BusinessBotRecipients

class pyrogram.raw.base.BusinessBotRecipients

Specifies the private chats that a connected business bot » may receive messages and interact with.

Constructors:

This base type has 1 constructor available.

BusinessBotRecipients

Specifies the private chats that a connected business bot » may receive messages and interact with.

TL Schema

businessBotRecipients#b88cf373
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>
exclude_users:flags.6?Vector<long>

= BusinessBotRecipients

Parameter Tree

BusinessBotRecipients
├── existing_chatstrue (optional)
├── new_chatstrue (optional)
├── contactstrue (optional)
├── non_contactstrue (optional)
├── exclude_selectedtrue (optional)
├── usersVector < long > (optional)
└── exclude_usersVector < long > (optional)

Example

BusinessBotRecipients(
    existing_chats=None,
    new_chats=None,
    contacts=None,
    non_contacts=None,
    exclude_selected=None,
    users=[0],
    exclude_users=[0],
)