MadelineProto/docs/TD_docs/methods/addChatMembers.md
Daniil Gentili 8600a2fcba docufix
2017-09-29 15:50:59 +02:00

24 lines
1020 B
Markdown

---
title: addChatMembers
description: Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Member will not be added until chat state will be synchronized with the server. Member will not be added if application is killed before it can send request to the server
---
## Method: addChatMembers
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Adds many new members to the chat. Currently, available only for channels. Can't be used to join the channel. Member will not be added until chat state will be synchronized with the server. Member will not be added if application is killed before it can send request to the server
### Params:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int53](../types/int53.md) | Yes|Chat identifier|
|user\_ids|Array of [int](../types/int.md) | Yes|Identifiers of the users to add|
### Return type: [Ok](../types/Ok.md)