MadelineProtoDocs/old_docs/API_docs_v104/constructors/folder.md
2019-08-15 20:25:16 +02:00

1.1 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 New broadcasts?
autofill_public_groups Bool Optional Autofill public groups?
autofill_new_correspondents Bool Optional New correspondents
id int Yes ID
title string Yes Title
photo ChatPhoto Optional Photo

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}