View Source ExTDLib.Method.AddChatMember (ExTDLib v0.0.4)
Adds a new member to a chat. Members can't be added to private or secret chats. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| user_id | string | Identifier of the user. |
| forward_limit | number | The number of earlier messages from the chat to be forwarded to the new member; up to 100. Ignored for supergroups and channels, or if the added user is a bot. |
More details on telegram's documentation.