GetDialogs

class pyrogram.raw.functions.messages.GetDialogs

Returns the current user dialog list.

Details
  • Layer: 126

  • ID: 0xa0ee3b73

Parameters
  • offset_date (int 32-bit) – Offsets for pagination, for more info click here.

  • offset_id (int 32-bit) – Offsets for pagination, for more info click here.

  • offset_peer (InputPeer) – Offset peer for pagination.

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

  • hash (int 32-bit) – Hash for pagination, for more info click here.

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

  • folder_id (int 32-bit, optional) – Peer folder ID, for more info click here.

Returns

messages.Dialogs – Object contains a list of chats with messages and auxiliary data.