Commit bdaccddb85eb0e9a53b6be2aaa6d5de0d8a3d9b0
1 parent
5bdacb01
Exists in
master
添加发送消息方法
Showing
1 changed file
with
31 additions
and
1 deletions
Show diff stats
lib/qy_wechat_api/api/message.rb
... | ... | @@ -4,7 +4,37 @@ module QyWechatApi |
4 | 4 | module Api |
5 | 5 | class Message < Base |
6 | 6 | |
7 | - def send | |
7 | + # 发送文本 | |
8 | + def send_text | |
9 | + end | |
10 | + | |
11 | + # 发送图片 | |
12 | + def send_image | |
13 | + | |
14 | + end | |
15 | + | |
16 | + # 发送语音 | |
17 | + def send_voice | |
18 | + | |
19 | + end | |
20 | + | |
21 | + # 发送视频 | |
22 | + def send_video | |
23 | + | |
24 | + end | |
25 | + | |
26 | + # 文件信息 | |
27 | + def send_file | |
28 | + | |
29 | + end | |
30 | + | |
31 | + # news消息 | |
32 | + def send_news | |
33 | + | |
34 | + end | |
35 | + | |
36 | + # mpnews | |
37 | + def send_mpnews | |
8 | 38 | |
9 | 39 | end |
10 | 40 | ... | ... |