Constructor: channelMessagesFilter

Back to constructors index

Attributes:

Name Type Required
exclude_new_messages Bool Optional
ranges Array of MessageRange Yes

Type: ChannelMessagesFilter

Example:

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

PWRTelegram json-encoded version:

{"_": "channelMessagesFilter", "exclude_new_messages": Bool, "ranges": [MessageRange]}

Or, if you’re into Lua:

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