MadelineProtoDocs/old_docs/API_docs_v35/constructors/dialogFolder.md
2020-06-16 17:50:25 +02:00

1.6 KiB

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

Constructor: dialogFolder

Back to constructors index

Dialog in folder

Attributes:

Name Type Required Description
pinned Bool Optional Is this folder pinned
folder Folder Yes The folder
peer Peer Yes Peer in folder
top_message int Yes Latest message ID of dialog
unread_muted_peers_count int Yes Number of unread muted peers in folder
unread_unmuted_peers_count int Yes Number of unread unmuted peers in folder
unread_muted_messages_count int Yes Number of unread messages from muted peers in folder
unread_unmuted_messages_count int Yes Number of unread messages from unmuted peers in folder

Type: Dialog

Example:

$dialogFolder = ['_' => 'dialogFolder', 'pinned' => Bool, 'folder' => Folder, 'peer' => Peer, 'top_message' => int, 'unread_muted_peers_count' => int, 'unread_unmuted_peers_count' => int, 'unread_muted_messages_count' => int, 'unread_unmuted_messages_count' => int];

Or, if you're into Lua:

dialogFolder={_='dialogFolder', pinned=Bool, folder=Folder, peer=Peer, top_message=int, unread_muted_peers_count=int, unread_unmuted_peers_count=int, unread_muted_messages_count=int, unread_unmuted_messages_count=int}