Constructor: channelMessagesFilter

Back to constructors index

Filter for getting only certain types of channel messages


Name Type Required Description
exclude_new_messages Bool Optional Whether to exclude new messages from the search
ranges Array of MessageRange Yes A range of messages to fetch

Type: ChannelMessagesFilter


$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]];

Or, if you’re into Lua:

channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.