MadelineProtoDocs/old_docs/API_docs_v109/constructors/channelParticipantsContacts.md

39 lines
853 B
Markdown
Raw Permalink Normal View History

2020-03-06 12:24:14 +01:00
---
title: channelParticipantsContacts
description: Fetch only participants that are also contacts
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelParticipantsContacts
[Back to constructors index](index.md)
Fetch only participants that are also contacts
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|q|[string](../types/string.md) | Yes|Optional search query for searching contact participants by name|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```php
$channelParticipantsContacts = ['_' => 'channelParticipantsContacts', 'q' => 'string'];
```
Or, if you're into Lua:
```lua
channelParticipantsContacts={_='channelParticipantsContacts', q='string'}
```