mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 02:47:21 +01:00
43 lines
731 B
Markdown
43 lines
731 B
Markdown
|
---
|
||
|
title: messageActionChatAddUser
|
||
|
description: messageActionChatAddUser attributes, type and example
|
||
|
---
|
||
|
## Constructor: messageActionChatAddUser
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|users|Array of [int](../types/int.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [MessageAction](../types/MessageAction.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$messageActionChatAddUser = ['_' => 'messageActionChatAddUser', 'users' => [int]];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "messageActionChatAddUser", "users": [int]}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
messageActionChatAddUser={_='messageActionChatAddUser', users={int}}
|
||
|
|
||
|
```
|
||
|
|
||
|
|