using LeanCloud.Realtime.Internal;
using LeanCloud.Storage.Internal;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeanCloud.Realtime
{
///
/// 纯文本信息
///
[AVIMMessageClassName("_AVIMTextMessage")]
[AVIMTypedMessageTypeInt(-1)]
public class AVIMTextMessage : AVIMTypedMessage
{
///
/// 构建一个文本信息 class.
///
public AVIMTextMessage()
{
}
///
/// 文本类型标记
///
[Obsolete("LCType is deprecated, please use AVIMTypedMessageTypeInt instead.")]
[AVIMMessageFieldName("_lctype")]
public int LCType
{
get; set;
}
///
/// 构造一个纯文本信息
///
///
public AVIMTextMessage(string textContent)
: this()
{
TextContent = textContent;
}
}
}