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.

NameTypeDescription
chat_idstringChat identifier.
user_idnumberIdentifier of the user.
forward_limitnumberThe 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.