#####################
	# WeChat Bot Server #
	#####################


## APIs

- /qrcode
  ------------------------
  @brief      login qrcode
  @method     get
  @return     raw image
  ------------------------

- /runtime
  -----------------------------
  @brief      basic info
  @method     get
  @return     application/json
              {
                'ret': 0,
                'runtime': '',
                'total_size': '',
                'db_size': '',
                'msg_count': '',
                'image_count': '',
                'voice_count': '',
                'video_count': '',
              }
  -----------------------------

- /group_list
  ------------------------
  @brief      list groups
  @method     get
  ------------------------

- /group_member_list/<g_id>
  -----------------------------
  @brief      list group member
  @method     get
  @param      g_id String
  -----------------------------

- /group_chat_log/<g_name>
  -------------------------------
  @brief      list group chat log
  @method     get
  @param      g_name String
  -------------------------------

- /upload
  -------------------------------
  @brief      upload a file
  @method     get/post
  @return     application/json
              {
                'ret': 0,
                'msg': '',
              }
  -------------------------------

- /send_msg/<to>/<msg>
  -------------------------------------------
  @brief      send message to user or gourp
  @method     get
  @param      to: String, user id or group id
  @param      msg: String, words
  @return     application/json
              {
                'ret': 0,
              }
  -------------------------------------------

- /send_img/<to>/<img>
  -------------------------------------------
  @brief      send image to user or gourp
  @method     get
  @param      to: String, user id or group id
  @param      img: String, image file name
  @return     application/json
              {
                'ret': 0,
              }
  -------------------------------------------

- /send_emot/<to>/<emot>
  -------------------------------------------
  @brief      send emotion to user or gourp
  @method     get
  @param      to: String, user id or group id
  @param      emot: String, emotion file name
  @return     application/json
              {
                'ret': 0,
              }
  -------------------------------------------

- /send_file/<to>/<file>
  -------------------------------------------
  @brief      send emotion to user or gourp
  @method     get
  @param      to: String, user id or group id
  @param      file: String, file name
  @return     application/json
              {
                'ret': 0,
              }
  -------------------------------------------

- /mass_send_msg
  -------------------------------------------
  @brief      send text to mass users or gourps
  @method     post
  @param      application/json
              {
                'to_list': [
                  'group_id',
                  ...
                ],
                'msg': '',
              }
  @return     application/json
              {
                'ret': 0,
                'unsend_list': [],
              }
  -------------------------------------------

- /mass_send_img
  -------------------------------------------
  @brief      send image to mass users or gourps
  @method     post
  @param      application/json
              {
                'to_list': [
                  'group_id',
                  ...
                ],
                'msg': '',
              }
  @return     application/json
              {
                'ret': 0,
                'unsend_list': [],
              }
  -------------------------------------------

- /mass_send_emot
  -------------------------------------------
  @brief      send emoticon to mass users or gourps
  @method     post
  @param      application/json
              {
                'to_list': [
                  'group_id',
                  ...
                ],
                'msg': '',
              }
  @return     application/json
              {
                'ret': 0,
                'unsend_list': [],
              }
  -------------------------------------------

- /mass_send_file
  -------------------------------------------
  @brief      send file to mass users or gourps
  @method     post
  @param      application/json
              {
                'to_list': [
                  'group_id',
                  ...
                ],
                'msg': '',
              }
  @return     application/json
              {
                'ret': 0,
                'unsend_list': [],
              }
  -------------------------------------------