Skip to content

Commit

Permalink
Add links to message and events in quickstart documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Mar 5, 2016
1 parent 9503561 commit be92b77
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/events.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _events:

推送事件
==========

Expand All @@ -10,7 +12,7 @@

=========== =================================
name value
======= =================================
=========== =================================
id 事件 id, 64 位整型。
source 事件的来源用户,即发送消息的用户。
target 事件的目标用户。
Expand Down
6 changes: 4 additions & 2 deletions docs/messages.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
消息
=====
.. _messages:

推送消息
==========

目前 wechatpy 共支持以下几种类型的消息:`TextMessage`,`ImageMessage`,`VoiceMessage`,`VideoMessage`,`LocationMessage`,`LinkMessage`。

Expand Down
7 changes: 7 additions & 0 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@
msg = parse_message(decrypted_xml)
对于解析后的消息类型等信息请参考 :ref:`推送消息 <messages>` 和 :ref:`推送事件 <events>` 文档。

回复消息
~~~~~~~~~~~~~~

TODO

微信主动调用接口使用
-------------------------

Expand Down

0 comments on commit be92b77

Please sign in to comment.