2025-03-28 09:49:56 +08:00

45 lines
1.2 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 SuperMap.RealEstate.WeiXinExtend
{
public class TextMessage //: ReceiveMessage
{
public TextMessage()
{
}
ReceiveMessage _ReceiveMessage;
internal TextMessage(ReceiveMessage ReceiveMessage)
{
_ReceiveMessage = ReceiveMessage;
}
/// <summary>
/// 开发者微信号
/// </summary>
public string ToUserName { get { return _ReceiveMessage.ToUserName; } }
/// <summary>
/// 发送方帐号一个OpenID
/// </summary>
public string FromUserName { get { return _ReceiveMessage.FromUserName; } }
/// <summary>
/// 消息创建时间 (整型)
/// </summary>
public string CreateTime { get { return _ReceiveMessage.CreateTime; } }
/// <summary>
/// 消息id64位整型
/// </summary>
public string MsgId { get { return _ReceiveMessage.MsgId; } }
/// <summary>
/// 文本消息内容
/// </summary>
public string Content { get { return _ReceiveMessage.Content; } }
}
}