See: https://core.telegram.org/bots/api#senddocument

        :param document: Same as ``photo`` in :meth:`amanobot.Bot.sendPhoto`

def sendDocument(self, chat_id, document,
                     thumb=None,
                     caption=None,
                     parse_mode=None,
                     disable_notification=None,
                     reply_to_message_id=None,
                     reply_markup=None):
        """
        See: https://core.telegram.org/bots/api#senddocument

        :param document: Same as ``photo`` in :meth:`amanobot.Bot.sendPhoto`
        """
        p = _strip(locals(), more=['document'])
        return self._api_request_with_file('sendDocument', _rectify(p), 'document', document)