---
title: inputMessagesFilterVoice
description: Return only messages containing voice notes
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputMessagesFilterVoice  
[Back to constructors index](index.md)



Return only messages containing voice notes




### Type: [MessagesFilter](../types/MessagesFilter.md)


### Example:

```php
$inputMessagesFilterVoice = ['_' => 'inputMessagesFilterVoice'];
```  


Or, if you're into Lua:

```lua
inputMessagesFilterVoice={_='inputMessagesFilterVoice'}

```


