channelMessagesFilter

Filter for getting only certain types of channel messages.

This filter cannot be used to fetch messages older than the channel message box size.

Constructor schema is available as of layer 41. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
exclude_new_messages flags.1?true Whether to exclude new messages from the search
ranges Vector<MessageRange> A range of messages to fetch

Type

ChannelMessagesFilter