BusinessRecipients

class pyrogram.types.BusinessRecipients

Represents recipients for business automated messages.

Parameters:
  • existing_chats (bool, optional) – Apply to existing private chats.

  • new_chats (bool, optional) – Apply to new private chats.

  • contacts (bool, optional) – Apply to contacts.

  • non_contacts (bool, optional) – Apply to non-contacts.

  • exclude_selected (bool, optional) – If True, the users/chats below are excluded rather than included.

  • users (List of int, optional) – List of user IDs to include/exclude.