InputBusinessRecipients

class pyrogram.raw.types.InputBusinessRecipients

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

Constructor of InputBusinessRecipients.

Details:
  • Layer: 223

  • ID: 6F8B32AA

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 InputUser, optional) – Only private chats with the specified users.

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_chatstrue (optional)
├── new_chatstrue (optional)
├── contactstrue (optional)
├── non_contactstrue (optional)
├── exclude_selectedtrue (optional)
└── usersVector < InputUser > (optional)
├── InputUserEmpty
├── InputUserSelf
├── InputUser
│ ├── user_idlong
│ └── access_hashlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── user_idlong

Example

InputBusinessRecipients(
)