mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 16:26:57 +01:00
38 lines
643 B
Markdown
38 lines
643 B
Markdown
---
|
|
title: messageChatAddMembers
|
|
description: Chat members added
|
|
---
|
|
## Constructor: messageChatAddMembers
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Chat members added
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|:-------------:|:--------:|------------:|
|
|
|members|Array of [user](../constructors/user.md) | Yes|New chat member|
|
|
|
|
|
|
|
|
### Type: [MessageContent](../types/MessageContent.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$messageChatAddMembers = ['_' => 'messageChatAddMembers', 'members' => [user], ];
|
|
```
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
messageChatAddMembers={_='messageChatAddMembers', members={user}, }
|
|
|
|
```
|
|
|
|
|