setChatTitle method
Use this method to change the title of a chat.
Titles can't be changed for private chats.
The bot must be an administrator in the chat for this to work and must have the appropriate admin rights.
Returns True on success.
Implementation
Future<bool> setChatTitle(ChatID chatId, String title) {
return _client.apiCall(_token, 'setChatTitle', {
'chat_id': chatId,
'title': title,
});
}