code: async def get_chat(self, chat_id: typing.Union[base.Integer, base.String]) -> types.Chat:
          
          payload = generate_payload(**locals())
  
          result = await self.request(api.Methods.GET_CHAT, payload)
          return types.Chat(**result)
docs: Use this method to get up to date information about the chat
          (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.).
  
          Source: https://core.telegram.org/bots/api#getchat
  
          :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]`
          :return: Returns a Chat object on success
          :rtype: :obj:`types.Chat`