MadelineProtoDocs/old_docs/API_docs_v16/constructors/messageActionChatAddUser.md

39 lines
750 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: messageActionChatAddUser
description: New member in the group
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageActionChatAddUser
[Back to constructors index](index.md)
New member in the group
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|users|Array of [int](../types/int.md) | Yes|Users that were invited to the chat|
### Type: [MessageAction](../types/MessageAction.md)
### Example:
```php
$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int, int]];
```
Or, if you're into Lua:
```lua
messageActionChatAddUser={_='messageActionChatAddUser', users={int}}
```