ChannelMessages¶
-
class
pyrogram.raw.types.messages.
ChannelMessages
¶ Channel messages.
Constructor type of
Messages
.- Details
Layer:
126
ID:
0x64479808
- Parameters
pts (
int
32-bit
) – Event count after generation.count (
int
32-bit
) – Total number of results were found server-side (may not be all included here).messages (List of
Message
) – Found messages.chats (List of
Chat
) – Chats.users (List of
User
) – Users.inexact (
bool
, optional) – If set, returned results may be inexact.offset_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}.
- Methods
This object can be returned by 11 methods:
Returns the list of messages by their IDs.
Gets back the conversation history with one interlocutor / within a chat.
Gets back found 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 channel/supergroup messages.
Obtains a list of messages, indicating to which other public channels was a channel message forwarded.