Raw.DialogFolder
Dialog in folder
dialogFolder#71bd134c flags:# pinned:flags.2?true 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 = Dialog;
export namespace Raw {
export class DialogFolder {
constructor(params: {
pinned?: boolean;
folder: Raw.TypeFolder;
peer: Raw.TypePeer;
topMessage: number;
unreadMutedPeersCount: number;
unreadUnmutedPeersCount: number;
unreadMutedMessagesCount: number;
unreadUnmutedMessagesCount: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x71bd134c
Property
pinned
: boolean or undefinedIs this folder pinned
folder
: Raw.TypeFolderThe folder
peer
: Raw.TypePeerPeer in folder
topMessage
: numberLatest message id of dialog
unreadMutedPeersCount
: numberNumber of unread muted peers in folder
unreadUnmutedPeersCount
: numberNumber of unread unmuted peers in folder
unreadMutedMessagesCount
: numberNumber of unread messages from muted peers in folder
unreadUnmutedMessagesCount
: numberNumber of unread messages from unmuted peers in folder