MadelineProto/docs/TD_docs/constructors/searchMessagesFilterPhotoAndVideo.md

37 lines
653 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', ];
```
Or, if you're into Lua:
```
searchMessagesFilterPhotoAndVideo={_='searchMessagesFilterPhotoAndVideo', }
```