2017-01-25 23:16:22 +01:00
|
|
|
---
|
|
|
|
title: channels.channelParticipant
|
|
|
|
description: channels_channelParticipant attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: channels.channelParticipant
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
2017-03-11 19:54:51 +01:00
|
|
|
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|
|
|
|
|users|Array of [User](../types/User.md) | Yes|
|
2017-01-25 23:16:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
2017-03-11 19:54:51 +01:00
|
|
|
$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User], ];
|
2017-01-25 23:16:22 +01:00
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|