ChannelMessagesFilter

class pyrogram.raw.types.ChannelMessagesFilter

Filter for getting only certain types of channel messages.

Constructor type of ChannelMessagesFilter.

Details
  • Layer: 126

  • ID: 0xcd77d957

Parameters
  • ranges (List of MessageRange) – A range of messages to fetch.

  • exclude_new_messages (bool, optional) – Whether to exclude new messages from the search.