MadelineProto/docs/TD_docs/constructors/searchMessagesFilterChatPhoto.md

44 lines
750 B
Markdown
Raw Normal View History

---
title: searchMessagesFilterChatPhoto
description: Return only messages containing chat photos
---
## Constructor: searchMessagesFilterChatPhoto
[Back to constructors index](index.md)
Return only messages containing chat photos
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
### Type: [SearchMessagesFilter](../types/SearchMessagesFilter.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$searchMessagesFilterChatPhoto = ['_' => 'searchMessagesFilterChatPhoto'];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "searchMessagesFilterChatPhoto"}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
searchMessagesFilterChatPhoto={_='searchMessagesFilterChatPhoto'}
```