code: def get_chat_member(chat_id, user_id, **kwargs):
      
  
      # required args
      params = dict(
          chat_id=chat_id,
          user_id=user_id,
      )
  
      return TelegramBotRPCRequest('getChatMember', params=params, on_result=lambda result: ChatMember.from_result(result), **kwargs)
docs: Use this method to get information about a member of a chat
  
      :param chat_id: Unique identifier for the target chat or username of the target channel (in the format @channelusername)
      :param user_id: Unique identifier of the target user
      :param kwargs: Args that get passed down to :class:`TelegramBotRPCRequest`
  
      :type chat_id: int or str
      :type user_id: int
  
      :returns: Returns ChatMember on success.
      :rtype: ChatMember