messages.MessagesSlice
- class pyrogram.raw.types.messages.MessagesSlice
Incomplete list of messages and auxiliary data.
Constructor of
Messages
.- Details:
Layer:
194
ID:
3A54685E
- Parameters:
count (
int
32-bit
) – Total number of messages in the listmessages (List of
Message
) – List of messageschats (List of
Chat
) – List of chats mentioned in messagesusers (List of
User
) – List of users mentioned in messages and chatsinexact (
bool
, optional) – If set, indicates that the results may be inexactnext_rate (
int
32-bit
, optional) – Rate to use in the offset_rate parameter in the next call to messages.searchGlobaloffset_id_offset (
int
32-bit
, optional) – Indicates the absolute position of messages[0] within the total result set with count count. This is useful, for example, if the result was fetched using offset_id, and we need to display a progress/total counter (like photo 134 of 200, for all media in a chat, we could simply use photo ${offset_id_offset} of ${count}.
- Functions:
This object can be returned by 15 functions.
Returns the list of messages by their IDs.
Returns the conversation history with one interlocutor / within a chat
Search for messages.
Search for messages and peers globally
Get unread messages where we were mentioned
Get live location history of a certain user
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.
Returns saved messages » forwarded from a specific peer
{schema}
Get channel/supergroup messages
{schema}