editChatTitle method
Edit Chat Title.
ID: 73783ffd
.
Implementation
Future<Result<UpdatesBase>> editChatTitle({
required int chatId,
required String title,
}) async {
// Preparing the request.
final request = MessagesEditChatTitle(
chatId: chatId,
title: title,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}