Folder

class pyrogram.types.Folder

A user’s folder.

Parameters:
  • id (int) – The folder id.

  • title (str) – The folder title.

  • included_chats (List of Chat, optional) – A list of included chats in folder.

  • excluded_chats (List of Chat, optional) – A list of excluded chats in folder.

  • pinned_chats (List of Chat, optional) – A list of pinned chats in folder.

  • contacts (bool, optional) – True, if the folder includes contacts.

  • non_contacts (bool, optional) – True, if the folder includes non contacts.

  • groups (bool, optional) – True, if the folder includes groups.

  • channels (bool, optional) – True, if the folder includes channels.

  • bots (bool, optional) – True, if the folder includes bots.

  • exclude_muted (bool, optional) – True, if the folder exclude muted.

  • exclude_read (bool, optional) – True, if the folder exclude read.

  • exclude_archived (bool, optional) – True, if the folder exclude archived.

  • emoji (str, optional) – Folder emoji.

  • color (FolderColor, optional) – Chat reply color.