Method | Description | |
---|---|---|
Addtemplate ( string accessTokenOrAppId, string template_id_short, int timeOut = Config.TIME_OUT ) : Senparc.Weixin.MP.AdvancedAPIs.TemplateMessage.AddtemplateJsonResult |
获得模板ID
|
|
AddtemplateAsync ( string accessTokenOrAppId, string template_id_short, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】获得模板ID
|
|
DelPrivateTemplate ( string accessTokenOrAppId, string template_id, int timeOut = Config.TIME_OUT ) : |
删除模板
|
|
DelPrivateTemplateAsync ( string accessTokenOrAppId, string template_id, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】删除模板
|
|
GetIndustry ( string accessTokenOrAppId, int timeOut = Config.TIME_OUT ) : Senparc.Weixin.MP.AdvancedAPIs.TemplateMessage.GetIndustryJsonResult |
获取设置的行业信息
|
|
GetIndustryAsync ( string accessTokenOrAppId, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】获取设置的行业信息
|
|
GetPrivateTemplate ( string accessTokenOrAppId, int timeOut = Config.TIME_OUT ) : GetPrivateTemplateJsonResult |
获取模板列表
|
|
GetPrivateTemplateAsync ( string accessTokenOrAppId, int timeOut = Config.TIME_OUT ) : Task |
【异步办法】 获取模板列表
|
|
SendTemplateMessage ( string accessTokenOrAppId, string openId, string templateId, string url, object data, int timeOut = Config.TIME_OUT ) : SendTemplateMessageResult |
模板消息接口
|
|
SendTemplateMessageAsync ( string accessTokenOrAppId, string openId, string templateId, string url, object data, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】模板消息接口
|
|
SetIndustry ( string accessTokenOrAppId, IndustryCode industry_id1, IndustryCode industry_id2, int timeOut = Config.TIME_OUT ) : |
设置所属行业
|
|
SetIndustryAsync ( string accessTokenOrAppId, IndustryCode industry_id1, IndustryCode industry_id2, int timeOut = Config.TIME_OUT ) : Task |
【异步方法】设置所属行业
|
public static Addtemplate ( string accessTokenOrAppId, string template_id_short, int timeOut = Config.TIME_OUT ) : Senparc.Weixin.MP.AdvancedAPIs.TemplateMessage.AddtemplateJsonResult | ||
accessTokenOrAppId | string | |
template_id_short | string | 模板库中模板的编号,有“TM**”和“OPENTMTM**”等形式 |
timeOut | int | |
return | Senparc.Weixin.MP.AdvancedAPIs.TemplateMessage.AddtemplateJsonResult |
public static AddtemplateAsync ( string accessTokenOrAppId, string template_id_short, int timeOut = Config.TIME_OUT ) : Task |
||
accessTokenOrAppId | string | |
template_id_short | string | 模板库中模板的编号,有“TM**”和“OPENTMTM**”等形式 |
timeOut | int | |
return | Task |
public static DelPrivateTemplate ( string accessTokenOrAppId, string template_id, int timeOut = Config.TIME_OUT ) : |
||
accessTokenOrAppId | string | |
template_id | string | 公众帐号下模板消息ID |
timeOut | int | |
return |
public static DelPrivateTemplateAsync ( string accessTokenOrAppId, string template_id, int timeOut = Config.TIME_OUT ) : Task |
||
accessTokenOrAppId | string | |
template_id | string | 公众帐号下模板消息ID |
timeOut | int | |
return | Task |
public static GetIndustry ( string accessTokenOrAppId, int timeOut = Config.TIME_OUT ) : Senparc.Weixin.MP.AdvancedAPIs.TemplateMessage.GetIndustryJsonResult | ||
accessTokenOrAppId | string | |
timeOut | int | |
return | Senparc.Weixin.MP.AdvancedAPIs.TemplateMessage.GetIndustryJsonResult |
public static GetIndustryAsync ( string accessTokenOrAppId, int timeOut = Config.TIME_OUT ) : Task |
||
accessTokenOrAppId | string | |
timeOut | int | |
return | Task |
public static GetPrivateTemplate ( string accessTokenOrAppId, int timeOut = Config.TIME_OUT ) : GetPrivateTemplateJsonResult | ||
accessTokenOrAppId | string | |
timeOut | int | |
return | GetPrivateTemplateJsonResult |
public static GetPrivateTemplateAsync ( string accessTokenOrAppId, int timeOut = Config.TIME_OUT ) : Task |
||
accessTokenOrAppId | string | |
timeOut | int | |
return | Task |
public static SendTemplateMessage ( string accessTokenOrAppId, string openId, string templateId, string url, object data, int timeOut = Config.TIME_OUT ) : SendTemplateMessageResult | ||
accessTokenOrAppId | string | |
openId | string | |
templateId | string | |
url | string | |
data | object | |
timeOut | int | 代理请求超时时间(毫秒) |
return | SendTemplateMessageResult |
public static SendTemplateMessageAsync ( string accessTokenOrAppId, string openId, string templateId, string url, object data, int timeOut = Config.TIME_OUT ) : Task |
||
accessTokenOrAppId | string | |
openId | string | |
templateId | string | |
url | string | |
data | object | |
timeOut | int | 代理请求超时时间(毫秒) |
return | Task |
public static SetIndustry ( string accessTokenOrAppId, IndustryCode industry_id1, IndustryCode industry_id2, int timeOut = Config.TIME_OUT ) : |
||
accessTokenOrAppId | string | |
industry_id1 | IndustryCode | 公众号模板消息所属行业编号 |
industry_id2 | IndustryCode | 公众号模板消息所属行业编号 |
timeOut | int | |
return |
public static SetIndustryAsync ( string accessTokenOrAppId, IndustryCode industry_id1, IndustryCode industry_id2, int timeOut = Config.TIME_OUT ) : Task |
||
accessTokenOrAppId | string | |
industry_id1 | IndustryCode | 公众号模板消息所属行业编号 |
industry_id2 | IndustryCode | 公众号模板消息所属行业编号 |
timeOut | int | |
return | Task |