MadelineProtoDocs/old_docs/API_docs_v102/constructors/folder.md
2019-12-27 17:48:04 +01:00

1.3 KiB

title description image
folder Folder https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: folder

Back to constructors index

Folder

Attributes:

Name Type Required Description
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
id int Yes Folder ID
title string Yes Folder title
photo ChatPhoto Optional Folder picture

Type: Folder

Example:

$folder = ['_' => 'folder', 'autofill_new_broadcasts' => Bool, 'autofill_public_groups' => Bool, 'autofill_new_correspondents' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto];

Or, if you're into Lua:

folder={_='folder', autofill_new_broadcasts=Bool, autofill_public_groups=Bool, autofill_new_correspondents=Bool, id=int, title='string', photo=ChatPhoto}