44 lines
764 B
Markdown
44 lines
764 B
Markdown
---
|
|
title: searchMessagesFilterPhotoAndVideo
|
|
description: Return only photo and video messages
|
|
---
|
|
## Constructor: searchMessagesFilterPhotoAndVideo
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Return only photo and video messages
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|
|
|
|
### Type: [SearchMessagesFilter](../types/SearchMessagesFilter.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$searchMessagesFilterPhotoAndVideo = ['_' => 'searchMessagesFilterPhotoAndVideo'];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "searchMessagesFilterPhotoAndVideo"}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
searchMessagesFilterPhotoAndVideo={_='searchMessagesFilterPhotoAndVideo'}
|
|
|
|
```
|
|
|
|
|