DialogFilter

class pyrogram.raw.types.DialogFilter

Dialog filter AKA folder

Constructor of DialogFilter.

Details:
  • Layer: 187

  • ID: 5FB5523B

Parameters:
  • id (int 32-bit) – Folder ID

  • title (str) – Folder name (max 12 UTF-8 chars)

  • pinned_peers (List of InputPeer) – Pinned chats, folders can have unlimited pinned chats

  • include_peers (List of InputPeer) – Include the following chats in this folder

  • exclude_peers (List of InputPeer) – Exclude the following chats from this folder

  • contacts (bool, optional) – Whether to include all contacts in this folder

  • non_contacts (bool, optional) – Whether to include all non-contacts in this folder

  • groups (bool, optional) – Whether to include all groups in this folder

  • broadcasts (bool, optional) – Whether to include all channels in this folder

  • bots (bool, optional) – Whether to include all bots in this folder

  • exclude_muted (bool, optional) – Whether to exclude muted chats from this folder

  • exclude_read (bool, optional) – Whether to exclude read chats from this folder

  • exclude_archived (bool, optional) – Whether to exclude archived chats from this folder

  • emoticon (str, optional) – Emoji to use as icon for the folder.

  • color (int 32-bit, optional)