messages.Messages#
- class pyrogram.raw.types.messages.Messages#
Full list of messages with auxiliary data.
Constructor of
Messages.- Details:
Layer:
227ID:
1D73E7EA
- Parameters:
messages (List of
Message) – List of messagestopics (List of
ForumTopic) – Forum topics the returned messages belong to.chats (List of
Chat) – List of chats mentioned in dialogsusers (List of
User) – List of users mentioned in messages and chats
- Functions:
This object can be returned by 18 functions.
Returns the list of messages by their IDs.
Returns the message history in a peer.
Search for messages.
Search for messages and peers globally
Get unread messages where we were mentioned
Get all recent live locations sent to a specific chat: returns up to 1 location message (messageMediaGeoLive) per chat participant.
Get scheduled messages
Get scheduled messages
Get messages in a reply thread
Get unread reactions to messages you sent
View and search recently sent media.
Fetch saved messages forwarded from a specific peer, or fetch messages from a monoforum topic.
Fetch (a subset or all) messages in a quick reply shortcut.
Get messages containing polls with unread votes
Fetch the message history of a user's personal channel.
Usable by ✅ Users ❌ Bots
Get channel/supergroup messages
Globally search for posts from public channels (including those we aren't a member of) containing either a specific hashtag, or a full text query.