Method | Description | |
---|---|---|
SendCard ( string accessTokenOrAppId, string openId, string cardId, |
||
SendImage ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : WxJsonResult |
发送图片消息
|
|
SendImageAsync ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : Task |
【异步方法】发送图片消息
|
|
SendMpNews ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : WxJsonResult |
发送图文消息(点击跳转到图文消息页面) 图文消息条数限制在8条以内,注意,如果图文数超过8,则将会无响应。
|
|
SendMpNewsAsync ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : Task |
【异步方法】发送图文消息(点击跳转到图文消息页面) 图文消息条数限制在8条以内,注意,如果图文数超过8,则将会无响应。
|
|
SendMusic ( string accessTokenOrAppId, string openId, string title, string description, string musicUrl, string hqMusicUrl, string thumbMediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : WxJsonResult |
发送音乐消息
|
|
SendMusicAsync ( string accessTokenOrAppId, string openId, string title, string description, string musicUrl, string hqMusicUrl, string thumbMediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : Task |
【异步方法】发送音乐消息
|
|
SendNews ( string accessTokenOrAppId, string openId, List |
发送图文消息
|
|
SendNewsAsync ( string accessTokenOrAppId, string openId, List |
【异步方法】发送图文消息
|
|
SendText ( string accessTokenOrAppId, string openId, string content, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : WxJsonResult |
发送文本信息
|
|
SendTextAsync ( string accessTokenOrAppId, string openId, string content, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : Task |
【异步方法】发送文本信息
|
|
SendVideo ( string accessTokenOrAppId, string openId, string mediaId, string title, string description, int timeOut = Config.TIME_OUT, string kfAccount = "", string thumb_media_id = "" ) : WxJsonResult |
发送视频消息
|
|
SendVideoAsync ( string accessTokenOrAppId, string openId, string mediaId, string title, string description, int timeOut = Config.TIME_OUT, string kfAccount = "", string thumb_media_id = "" ) : Task |
【异步方法】发送视频消息
|
|
SendVoice ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : WxJsonResult |
发送语音消息
|
|
SendVoiceAsync ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : Task |
【异步方法】发送语音消息
|
public static SendCard ( string accessTokenOrAppId, string openId, string cardId, |
||
accessTokenOrAppId | string | |
openId | string | |
cardId | string | |
cardExt | ||
timeOut | int | |
return | WxJsonResult |
public static SendImage ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : WxJsonResult | ||
accessTokenOrAppId | string | |
openId | string | |
mediaId | string | |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | 客服 |
return | WxJsonResult |
public static SendImageAsync ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : Task |
||
accessTokenOrAppId | string | |
openId | string | |
mediaId | string | |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | 客服 |
return | Task |
public static SendMpNews ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : WxJsonResult | ||
accessTokenOrAppId | string | |
openId | string | |
mediaId | string | |
timeOut | int | |
kfAccount | string | 客服 |
return | WxJsonResult |
public static SendMpNewsAsync ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : Task |
||
accessTokenOrAppId | string | |
openId | string | |
mediaId | string | |
timeOut | int | |
kfAccount | string | 客服 |
return | Task |
public static SendMusic ( string accessTokenOrAppId, string openId, string title, string description, string musicUrl, string hqMusicUrl, string thumbMediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : WxJsonResult | ||
accessTokenOrAppId | string | |
openId | string | |
title | string | 音乐标题(非必须) |
description | string | 音乐描述(非必须) |
musicUrl | string | 音乐链接 |
hqMusicUrl | string | 高品质音乐链接,wifi环境优先使用该链接播放音乐 |
thumbMediaId | string | 视频缩略图的媒体ID |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | 客服 |
return | WxJsonResult |
public static SendMusicAsync ( string accessTokenOrAppId, string openId, string title, string description, string musicUrl, string hqMusicUrl, string thumbMediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : Task |
||
accessTokenOrAppId | string | |
openId | string | |
title | string | 音乐标题(非必须) |
description | string | 音乐描述(非必须) |
musicUrl | string | 音乐链接 |
hqMusicUrl | string | 高品质音乐链接,wifi环境优先使用该链接播放音乐 |
thumbMediaId | string | 视频缩略图的媒体ID |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | 客服 |
return | Task |
public static SendNews ( string accessTokenOrAppId, string openId, List |
||
accessTokenOrAppId | string | |
openId | string | |
articles | List | |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | 客服 |
return | WxJsonResult |
public static SendNewsAsync ( string accessTokenOrAppId, string openId, List |
||
accessTokenOrAppId | string | |
openId | string | |
articles | List | |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | 客服 |
return | Task |
public static SendText ( string accessTokenOrAppId, string openId, string content, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : WxJsonResult | ||
accessTokenOrAppId | string | |
openId | string | |
content | string | |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | 客服 |
return | WxJsonResult |
public static SendTextAsync ( string accessTokenOrAppId, string openId, string content, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : Task |
||
accessTokenOrAppId | string | |
openId | string | |
content | string | |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | 客服 |
return | Task |
public static SendVideo ( string accessTokenOrAppId, string openId, string mediaId, string title, string description, int timeOut = Config.TIME_OUT, string kfAccount = "", string thumb_media_id = "" ) : WxJsonResult | ||
accessTokenOrAppId | string | |
openId | string | |
mediaId | string | |
title | string | |
description | string | |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | 客服 |
thumb_media_id | string | |
return | WxJsonResult |
public static SendVideoAsync ( string accessTokenOrAppId, string openId, string mediaId, string title, string description, int timeOut = Config.TIME_OUT, string kfAccount = "", string thumb_media_id = "" ) : Task |
||
accessTokenOrAppId | string | |
openId | string | |
mediaId | string | |
title | string | |
description | string | |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | 客服 |
thumb_media_id | string | |
return | Task |
public static SendVoice ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : WxJsonResult | ||
accessTokenOrAppId | string | |
openId | string | |
mediaId | string | |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | |
return | WxJsonResult |
public static SendVoiceAsync ( string accessTokenOrAppId, string openId, string mediaId, int timeOut = Config.TIME_OUT, string kfAccount = "" ) : Task |
||
accessTokenOrAppId | string | |
openId | string | |
mediaId | string | |
timeOut | int | 代理请求超时时间(毫秒) |
kfAccount | string | |
return | Task |