2019-09-13 17:13:55 +02:00
|
|
|
---
|
|
|
|
title: inputMessagesFilterVoice
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Return only messages containing voice notes
|
2019-09-13 17:13:55 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: inputMessagesFilterVoice
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Return only messages containing voice notes
|
2019-09-13 17:13:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [MessagesFilter](../types/MessagesFilter.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice'];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
inputMessagesFilterVoice={_='inputMessagesFilterVoice'}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|