Folder

class pyrogram.raw.types.Folder

Folder

Constructor of Folder.

Details:
  • Layer: 223

  • 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_broadcaststrue (optional)
├── autofill_public_groupstrue (optional)
├── autofill_new_correspondentstrue (optional)
├── idint
├── titlestring
└── photoChatPhoto (optional)
├── ChatPhotoEmpty
└── ChatPhoto
├── has_videotrue (optional)
├── photo_idlong
├── stripped_thumbbytes (optional)
└── dc_idint

Example

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