Raw.messages.GetDialogs

Raw.messages.GetDialogs

Returns the current user dialog list.

messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.Dialogs;
export namespace Raw {
  export namespace messages {
    export class GetDialogs {
      constructor(params: {
        excludePinned?: boolean;
        folderId?: number;
        offsetDate: number;
        offsetId: number;
        offsetPeer: Raw.TypeInputPeer;
        limit: number;
        hash: bigint;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xa0f4cb4f

Property

  • excludePinned : boolean or undefined

    Exclude pinned dialogs

  • folderId : number or undefined

    Peer folder id, for more info click here

  • offsetDate : number

    Offsets for pagination, for more info click here

  • offsetId : number

    Offsets for pagination, for more info click here (topMessage id used for pagination)

  • offsetPeer : Raw.TypeInputPeer

    Offset peer for pagination

  • limit : number

    Number of list elements to be returned

  • hash : bigint

    Hash used for caching, for more info click here

Results

Raw.messages.TypeDialogs