28 lines
627 B
Markdown
28 lines
627 B
Markdown
---
|
|
title: channelMessagesFilter
|
|
description: channelMessagesFilter attributes, type and example
|
|
---
|
|
## Constructor: channelMessagesFilter
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|:-------------:|---------:|
|
|
|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional|
|
|
|ranges|Array of [MessageRange](../types/MessageRange.md) | Required|
|
|
|
|
|
|
|
|
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => true, 'ranges' => [Vector t], ];
|
|
```
|
|
|