MadelineProto/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

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'}
```