You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.8 KiB
Plaintext

9 months ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BP.GPM.WeiXin.Msg
{
/// <summary>
/// 微信-消息公共类
/// </summary>
abstract public class MsgBase
{
/// <summary>
/// 必须:是- 调用接口凭证
/// </summary>
public string Access_Token { get; set; }
/// <summary>
/// 必须:否- 成员ID列表消息接收者多个接收者用|分隔最多支持1000个。特殊情况指定为@all则向关注该企业应用的全部成员发送
/// </summary>
public string touser { get; set; }
/// <summary>
/// 必须:否- 部门ID列表多个接收者用|分隔最多支持100个。当touser为@all时忽略本参数
/// </summary>
public string toparty { get; set; }
/// <summary>
/// 必须:否- 标签ID列表多个接收者用|分隔。当touser为@all时忽略本参数
/// </summary>
public string totag { get; set; }
/// <summary>
/// 必须:是- 企业应用的id整型。可在应用的设置页面查看
/// </summary>
public string agentid { get; set; }
/// <summary>
/// 必须:否- ccflow 业务ID
/// </summary>
public string WorkID { get; set; }
/// <summary>
/// 表示是否是保密消息
/// </summary>
private string _Safe = "0";
/// <summary>
/// 必须:否- 表示是否是保密消息0表示否1表示是默认0
/// </summary>
public string safe
{
get
{
return this._Safe;
}
set
{
this._Safe = value;
}
}
}
}