MadelineProtoDocs/old_docs/API_docs_v102/constructors/dialogFolder.md
2019-06-24 15:45:02 +02:00

1.5 KiB

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

Constructor: dialogFolder

Back to constructors index

Dialog folder

Attributes:

Name Type Required Description
pinned Bool Optional Pinned?
folder Folder Yes Folder
peer Peer Yes Peer
top_message int Yes Top message
unread_muted_peers_count int Yes Unread muted peers count
unread_unmuted_peers_count int Yes Unread unmuted peer count
unread_muted_messages_count int Yes Unread muted messages count
unread_unmuted_messages_count int Yes Unread unmuted messages count

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}