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>.

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