Constructor: channelMessagesFilter
Filter for getting only certain types of channel messages
Attributes:
| 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
Example:
$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]];