Folder

class pyrogram.raw.types.Folder

Folder

Constructor of Folder.

Details:
  • Layer: 227

  • ID: FF544E65

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

  • title (str) – Folder title

  • autofill_new_broadcasts (bool, optional) – Automatically add new channels to this folder

  • autofill_public_groups (bool, optional) – Automatically add joined new public supergroups to this folder

  • autofill_new_correspondents (bool, optional) – Automatically add new private chats to this folder

  • photo (ChatPhoto, optional) – Folder picture

TL Schema

folder#ff544e65
flags:#
autofill_new_broadcasts:flags.0?true
autofill_public_groups:flags.1?true
autofill_new_correspondents:flags.2?true
id:int
title:string
photo:flags.3?ChatPhoto

= Folder

Parameter Tree

Folder
├── autofill_new_broadcasts → true (optional)
├── autofill_public_groups → true (optional)
├── autofill_new_correspondents → true (optional)
├── id → int
├── title → string
└── photo → ChatPhoto (optional)
├── ChatPhotoEmpty
└── ChatPhoto
├── has_video → true (optional)
├── photo_id → long
├── stripped_thumb → bytes (optional)
└── dc_id → int

Example

Folder(
    id=0,
    title="text",
)