getChat method
Gets information about the current chat.
Example:
final chatInfo = await ctx.getChat();
print('Chat title: ${chatInfo.title}');
Implementation
Future<ChatFullInfo> getChat() async {
final chatId = _getChatId();
_verifyInfo([chatId], APIMethod.getChat);
return api.getChat(chatId!);
}