getChatMember method
Gets information about a specific chat member.
Example:
final member = await ctx.getChatMember(123456789);
print('Status: ${member.status}');
Implementation
Future<ChatMember> getChatMember(int userId) async {
final chatId = _getChatId();
_verifyInfo([chatId], APIMethod.getChatMember);
return api.getChatMember(chatId!, userId);
}