InputBusinessRecipients

class pyrogram.raw.base.InputBusinessRecipients

Specifies the chats that can receive Telegram Business away » and greeting » messages.

Constructors:

This base type has 1 constructor available.

InputBusinessRecipients

Specifies the chats that can receive Telegram Business away » and greeting » messages.

TL Schema

inputBusinessRecipients#6f8b32aa
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<InputUser>

= InputBusinessRecipients

Parameter Tree

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
├── msg_id → int
└── user_id → long

Example

InputBusinessRecipients(
    existing_chats=None,
    new_chats=None,
    contacts=None,
    non_contacts=None,
    exclude_selected=None,
    users=[
            await app.resolve_user(chat_id)
        ],
)