TDLib v0.0.2 TDLib.Method.AddChatMember View Source
Adds a new member to a chat. Members can’t be added to private or secret chats. Members will not be added until the chat state has been synchronized with the server.
Returns object_ptr
Name | Type | Description |
---|---|---|
chat_id | string | Chat identifier. |
user_id | number | Identifier of the user. |
forward_limit | number | The number of earlier messages from the chat to be forwarded to the new member; up to 300. Ignored for supergroups and channels. |
More details on telegram’s documentation.