docs: def send_document(self, chat_id, data, reply_to_message_id=None, caption=None, reply_markup=None,
                        parse_mode=None, disable_notification=None, timeout=None):
          """
          Use this method to send general files.
          :param chat_id:
          :param data:
          :param reply_to_message_id:
          :param reply_markup:
          :param parse_mode:
          :param disable_notification:
          :return: API reply.
          """
          return types.Message.de_json(
              apihelper.send_data(self.token, chat_id, data, 'document', reply_to_message_id, reply_markup,
                                  parse_mode, disable_notification, timeout, caption=caption))