123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- #region Apache License Version 2.0
- /*----------------------------------------------------------------
- Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
- either express or implied. See the License for the specific language governing permissions
- and limitations under the License.
- Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md
- ----------------------------------------------------------------*/
- #endregion Apache License Version 2.0
- /*----------------------------------------------------------------
- Copyright (C) 2019 Senparc
-
- 文件名:NewsModel.cs
- 文件功能描述:群发图文消息模型
-
-
- 创建标识:Senparc - 20150211
-
- 修改标识:Senparc - 20150303
- 修改描述:整理接口
-
- 修改标识:Senparc - 20160722
- 修改描述:增加了thumb_url的参数
-
- 修改标识:Senparc - 20170810
- 修改描述:v14.5.9 增加need_open_comment、only_fans_can_comment参数
- ----------------------------------------------------------------*/
- namespace Senparc.Weixin.MP.AdvancedAPIs.GroupMessage
- {
- /// <summary>
- /// 图文消息模型
- /// </summary>
- public class NewsModel
- {
- /// <summary>
- /// 图文消息缩略图的media_id,可以在基础支持上传多媒体文件接口中获得
- /// </summary>
- public string thumb_media_id { get; set; }
- /// <summary>
- /// 图文消息的作者
- /// </summary>
- public string author { get; set; }
- /// <summary>
- /// 图文消息的标题
- /// </summary>
- public string title { get; set; }
- /// <summary>
- /// 在图文消息页面点击“阅读原文”后的页面
- /// </summary>
- public string content_source_url { get; set; }
- /// <summary>
- /// 图文消息页面的内容,支持HTML标签
- /// </summary>
- public string content { get; set; }
- /// <summary>
- /// 图文消息的描述
- /// </summary>
- public string digest { get; set; }
- /// <summary>
- /// 是否显示封面,1为显示,0为不显示
- /// </summary>
- public string show_cover_pic { get; set; }
- /// <summary>
- /// 缩略图的URL
- /// </summary>
- public string thumb_url { get; set; }
- /// <summary>
- /// 是否打开评论,0不打开,1打开
- /// </summary>
- public int need_open_comment { get; set; }
- /// <summary>
- /// 是否粉丝才可评论,0所有人可评论,1粉丝才可评论
- /// </summary>
- public int only_fans_can_comment { get; set; }
- }
- }
|