messages.Messages

class pyrogram.raw.base.messages.Messages

Object contains information on list of messages with auxiliary data.

Constructors:

This base type has 4 constructors available.

messages.ChannelMessages

Channel messages

messages.Messages

Full list of messages with auxiliary data.

messages.MessagesNotModified

No new messages matching the query were found

messages.MessagesSlice

Incomplete list of messages and auxiliary data.

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}