messages.ChannelMessages#

class pyrogram.raw.types.messages.ChannelMessages[source]#

Telegram API type.

Constructor of Messages.

Details:
  • Layer: 224

  • ID: C776BA4E

Parameters:
  • pts (int 32-bit) – N/A

  • count (int 32-bit) – N/A

  • messages (List of Message) – N/A

  • topics (List of ForumTopic) – N/A

  • chats (List of Chat) – N/A

  • users (List of User) – N/A

  • inexact (bool, optional) – N/A

  • offset_id_offset (int 32-bit, optional) – N/A

Functions:

This object can be returned by 16 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

Fetch saved messages forwarded from a specific peer, or fetch messages from a monoforum topic.

messages.GetQuickReplyMessages

Fetch (a subset or all) messages in a quick reply shortcut.

messages.GetUnreadPollVotes

Telegram API function.

channels.GetMessages

Get channel/supergroup messages

channels.SearchPosts

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.