libtd-ktx / kotlinx.telegram.coroutines / setChatTitle
setChatTitle
suspend fun
TelegramFlow
.setChatTitle(chatId:
Long
, 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
chatId
- Chat identifier.
title
- New title of the chat; 1-128 characters.