deleteChat method
Delete Chat.
ID: 5bd0ee50.
Implementation
Future<Result<Boolean>> deleteChat({required int chatId}) async {
// Preparing the request.
final request = MessagesDeleteChat(chatId: chatId);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}