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 undefinedExclude pinned dialogs
folderId
: number or undefinedPeer folder id, for more info click here
offsetDate
: numberOffsets for pagination, for more info click here
offsetId
: numberOffsets for pagination, for more info click here (topMessage id used for pagination)
offsetPeer
: Raw.TypeInputPeerOffset peer for pagination
limit
: numberNumber of list elements to be returned
hash
: bigintHash used for caching, for more info click here