messages.GetDialogs#

class pyrogram.raw.functions.messages.GetDialogs#

Returns the current user dialog list.

Details:
  • Layer: 158

  • ID: A0F4CB4F

Parameters:
  • offset_date (int 32-bit) – Offsets for pagination.

  • offset_id (int 32-bit) – Offsets for pagination (top_message ID used for pagination).

  • offset_peer (InputPeer) – Offset peer for pagination.

  • limit (int 32-bit) – Number of list elements to be returned.

  • hash (int 64-bit) – Hash for pagination.

  • exclude_pinned (bool, optional) – Exclude pinned dialogs.

  • folder_id (int 32-bit, optional) – Peer folder ID.

Returns:

messages.Dialogs