TDLib v0.0.2 TDLib.Method.SetChatTitle View Source
Changes the chat title. Supported only for basic groups, supergroups and channels. Requires administrator rights in basic groups and the appropriate administrator rights in supergroups and channels. The title will not be changed until the request to the server has been completed.
Returns object_ptr
Name | Type | Description |
---|---|---|
chat_id | string | Chat identifier. |
title | string | New title of the chat; 1-255 characters. |
More details on telegram’s documentation.