messages.Messages

class pyrogram.raw.types.messages.Messages

Full list of messages with auxiliary data.

Constructor of Messages.

Details:
  • Layer: 187

  • ID: 8C718E87

Parameters:
  • messages (List of Message) – List of messages

  • 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 15 functions.

messages.GetMessages

Returns the list of messages by their IDs.

messages.GetHistory

Returns the conversation history with one interlocutor / within a chat

messages.Search

Search for messages.

messages.SearchGlobal

Search for messages and peers globally

messages.GetUnreadMentions

Get unread messages where we were mentioned

messages.GetRecentLocations

Get live location history of a certain user

messages.GetScheduledHistory

Get scheduled messages

messages.GetScheduledMessages

Get scheduled messages

messages.GetReplies

Get messages in a reply thread

messages.GetUnreadReactions

Get unread reactions to messages you sent

messages.SearchSentMedia

View and search recently sent media.

messages.GetSavedHistory

Returns saved messages » forwarded from a specific peer

messages.GetQuickReplyMessages

{schema}

channels.GetMessages

Get channel/supergroup messages

channels.SearchPosts

{schema}