MadelineProtoDocs/old_docs/API_docs_v21/constructors/channelParticipantsSearch.md

39 lines
749 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: channelParticipantsSearch
description: Query participants by name
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelParticipantsSearch
[Back to constructors index](index.md)
Query participants by name
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|q|[string](../types/string.md) | Yes|Search query|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```php
$channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string'];
```
Or, if you're into Lua:
```lua
channelParticipantsSearch={_='channelParticipantsSearch', q='string'}
```