| MassApiSendMpNewsAsync 方法 |
Senparc.Weixin SDK 官方教程《微信开发深度解析》已出版,支持中国开源事业,请【购买正版】!
《微信公众号+小程序》视频课程已经上线,【点击这里】学习!
NeuChar(纽插)已经上线,为开发者提供一站式跨平台管理枢纽,并可将应用入驻到 NeuChar 应用商店!新功能正在不断增加中,快来使用吧! https://www.neuchar.com
在线动态微信接口 Swagger WebApi 文档: https://weixin.senparc.com:8039
命名空间:
Senparc.Weixin.Work.AdvancedAPIs
程序集:
Senparc.Weixin.Work (在 Senparc.Weixin.Work.dll 中) 版本:3.6.0.26160
语法 [ApiBindAttribute(PlatformType.WeChat_Work, "MassApi.SendMpNewsAsync",
true)]
public static Task<MassResult> SendMpNewsAsync(
string accessTokenOrAppKey,
string toUser,
string toParty,
string toTag,
string agentId,
List<MpNewsArticle> articles,
int safe = 0,
int timeOut = 10000
)
<ApiBindAttribute(PlatformType.WeChat_Work, "MassApi.SendMpNewsAsync",
true)>
Public Shared Function SendMpNewsAsync (
accessTokenOrAppKey As String,
toUser As String,
toParty As String,
toTag As String,
agentId As String,
articles As List(Of MpNewsArticle),
Optional safe As Integer = 0,
Optional timeOut As Integer = 10000
) As Task(Of MassResult)
参数
- accessTokenOrAppKey
- 类型:SystemString
- toUser
- 类型:SystemString
- toParty
- 类型:SystemString
- toTag
- 类型:SystemString
- agentId
- 类型:SystemString
- articles
- 类型:System.Collections.GenericListMpNewsArticle
- safe (Optional)
- 类型:SystemInt32
- timeOut (Optional)
- 类型:SystemInt32
返回值
类型:
TaskMassResult参见