messages.DialogsSlice#

class pyrogram.raw.types.messages.DialogsSlice#

Incomplete list of dialogs with messages and auxiliary data.

Constructor of Dialogs.

Details:
  • Layer: 158

  • ID: 71E094F3

Parameters:
  • count (int 32-bit) – Total number of dialogs.

  • dialogs (List of Dialog) – List of dialogs.

  • messages (List of Message) – List of last messages from dialogs.

  • chats (List of Chat) – List of chats mentioned in dialogs.

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

Functions:

This object can be returned by 1 function.

messages.GetDialogs

Returns the current user dialog list.