<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def get_chat_member(self, chat_id: typing.Union[base.Integer, base.String], user_id: base.Integer) -> types.ChatMember: """ Use this method to get information about a member of a chat. Source: https://core.telegram.org/bots/api#getchatmember :param chat_id: Unique identifier for the target chat or username of the target supergroup or channel :type chat_id: :obj:`typing.Union[base.Integer, base.String]` :param user_id: Unique identifier of the target user :type user_id: :obj:`base.Integer` :return: Returns a ChatMember object on success :rtype: :obj:`types.ChatMember` """

        payload = generate_payload(**locals())

        result = await self.request(api.Methods.GET_CHAT_MEMBER, payload)
        return types.ChatMember(**result)