Link Search Menu Expand Document

Constructor: dialogFolder

Back to constructors index

Dialog in folder

Attributes:

NameTypeRequiredDescription
pinnedBoolOptionalIs this folder pinned
folderFolderYesThe folder
peerlongYesPeer in folder
top_messageintYesLatest message ID of dialog
unread_muted_peers_countintYesNumber of unread muted peers in folder
unread_unmuted_peers_countintYesNumber of unread unmuted peers in folder
unread_muted_messages_countintYesNumber of unread messages from muted peers in folder
unread_unmuted_messages_countintYesNumber of unread messages from unmuted peers in folder

Type: Dialog

Example:

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