24 lines
992 B
Markdown
24 lines
992 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. Members can't be added to broadcast channel if it has more than 200 members. Members will not be added until chat state will be synchronized with 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. Members can't be added to broadcast channel if it has more than 200 members. Members will not be added until chat state will be synchronized with 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)
|
|
|