messages.PeerDialogs#

class pyrogram.raw.types.messages.PeerDialogs#

Dialog info of multiple peers.

Constructor of PeerDialogs.

Details:
  • Layer: 158

  • ID: 3371C354

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

  • messages (List of Message) – Messages mentioned in dialog info.

  • chats (List of Chat) – Chats.

  • users (List of User) – Users.

  • state (updates.State) – Current update state of dialog.

Functions:

This object can be returned by 2 functions.

messages.GetPeerDialogs

Get dialog info of specified peers.

messages.GetPinnedDialogs

Get pinned dialogs.