Raw.DialogFolder

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 undefined

    Is this folder pinned

  • folder : Raw.TypeFolder

    The folder

  • peer : Raw.TypePeer

    Peer in folder

  • topMessage : number

    Latest message id of dialog

  • unreadMutedPeersCount : number

    Number of unread muted peers in folder

  • unreadUnmutedPeersCount : number

    Number of unread unmuted peers in folder

  • unreadMutedMessagesCount : number

    Number of unread messages from muted peers in folder

  • unreadUnmutedMessagesCount : number

    Number of unread messages from unmuted peers in folder