libtd-ktx / kotlinx.telegram.extensions / ChatKtx / setTitle
setTitle
open suspend fun
Chat
.setTitle(title:
String
?):
Unit
Suspend function, which changes the chat title. Supported only for basic groups, supergroups and channels. Requires canChangeInfo rights. The title will not be changed until the request to the server has been completed.
Parameters
title
- New title of the chat; 1-128 characters.