Folder
- class pyrogram.raw.types.Folder
Folder
Constructor of
Folder.- Details:
Layer:
223ID:
FF544E65
- Parameters:
id (
int32-bit) – Folder IDtitle (
str) – Folder titleautofill_new_broadcasts (
bool, optional) – Automatically add new channels to this folderautofill_public_groups (
bool, optional) – Automatically add joined new public supergroups to this folderautofill_new_correspondents (
bool, optional) – Automatically add new private chats to this folderphoto (
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 →
intExample
Folder(
id=0,
title="text",
)