code: def sendDocument(self, chat_id, document,
                       thumb=None,
                       caption=None,
                       parse_mode=None,
                       disable_notification=None,
                       reply_to_message_id=None,
                       reply_markup=None):
          
          p = _strip(locals(), more=['document'])
          return self._api_request_with_file('sendDocument', _rectify(p), 'document', document)
docs: See: https://core.telegram.org/bots/api#senddocument
  
          :param document: Same as ``photo`` in :meth:`amanobot.Bot.sendPhoto`