Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
whtsky committed Feb 13, 2017
2 parents db711dc + 0f1238f commit a9d0376
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/changelog.rst
@@ -1,6 +1,12 @@
Changelog
=============

Version 1.1.1
----------------

+ 修复 :func:`werobot.client.Client.create_menu` 文档中的错误
+ 在 :func:`werobot.client.Client.send_music_message` 的文档中提示了可能的缩略图不显示的问题

Version 1.1.0
----------------

Expand Down
2 changes: 1 addition & 1 deletion werobot/__init__.py
@@ -1,4 +1,4 @@
__version__ = '1.1.0'
__version__ = '1.1.1'
__author__ = 'whtsky'
__license__ = 'MIT'

Expand Down
3 changes: 2 additions & 1 deletion werobot/client.py
Expand Up @@ -123,7 +123,6 @@ def create_menu(self, menu_data):
"""
创建自定义菜单::
client = Client("id", "secret")
client.create_menu({
"button":[
{
Expand Down Expand Up @@ -818,6 +817,8 @@ def send_music_message(self, user_id, url, hq_url, thumb_media_id,
title=None, description=None):
"""
发送音乐消息。
注意如果你遇到了缩略图不能正常显示的问题, 不要慌张; 目前来看是微信服务器端的问题。
对此我们也无能为力 ( `#197 <https://github.com/whtsky/WeRoBot/issues/197>`_ )
:param user_id: 用户 ID 。 就是你收到的 `Message` 的 source
:param url: 音乐链接
Expand Down

0 comments on commit a9d0376

Please sign in to comment.