xinjiang/SGGL/Model/APIItem/HSSE/SubscribeMessageItem.cs

68 lines
1.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Model
{
public class SubscribeMessageItem
{
/// <summary>
/// 接口调用凭证
/// </summary>
public string access_token
{
get;
set;
}
/// <summary>
/// 接收者(用户)的 openid
/// </summary>
public string touser
{
get;
set;
}
/// <summary>
/// 所需下发的订阅模板id
/// </summary>
public string template_id
{
get;
set;
}
/// <summary>
/// 点击模板卡片后的跳转页面,仅限本小程序内的页面。支持带参数,示例index?foo=bar。该字段不填则模板无跳转。
/// </summary>
public string page
{
get;
set;
}
/// <summary>
/// 模板内容,格式形如 { "key1": { "value": any }, "key2": { "value": any } }
/// </summary>
public object data
{
get;
set;
}
/// <summary>
/// 跳转小程序类型developer为开发版trial为体验版formal为正式版默认为正式版
/// </summary>
public string miniprogram_state
{
get;
set;
}
/// <summary>
/// 进入小程序查看”的语言类型支持zh_CN(简体中文)、en_US(英文)、zh_HK(繁体中文)、zh_TW(繁体中文)默认为zh_CN
/// </summary>
public string lang
{
get;
set;
}
}
}