#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
{
///
/// 图文消息模型
///
public class NewsModel
{
///
/// 图文消息缩略图的media_id,可以在基础支持上传多媒体文件接口中获得
///
public string thumb_media_id { get; set; }
///
/// 图文消息的作者
///
public string author { get; set; }
///
/// 图文消息的标题
///
public string title { get; set; }
///
/// 在图文消息页面点击“阅读原文”后的页面
///
public string content_source_url { get; set; }
///
/// 图文消息页面的内容,支持HTML标签
///
public string content { get; set; }
///
/// 图文消息的描述
///
public string digest { get; set; }
///
/// 是否显示封面,1为显示,0为不显示
///
public string show_cover_pic { get; set; }
///
/// 缩略图的URL
///
public string thumb_url { get; set; }
///
/// 是否打开评论,0不打开,1打开
///
public int need_open_comment { get; set; }
///
/// 是否粉丝才可评论,0所有人可评论,1粉丝才可评论
///
public int only_fans_can_comment { get; set; }
}
}