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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.