messages.Dialogs#

class pyrogram.raw.types.messages.Dialogs#

Full list of chats with messages and auxiliary data.

Constructor of Dialogs.

Details:
  • Layer: 158

  • ID: 15BA6C40

Parameters:
  • dialogs (List of Dialog) – List of chats.

  • messages (List of Message) – List of last messages from each chat.

  • chats (List of Chat) – List of groups mentioned in the chats.

  • users (List of User) – List of users mentioned in messages and groups.

Functions:

This object can be returned by 1 function.

messages.GetDialogs

Returns the current user dialog list.