LeanCloud C# SDK
|
LCIMTextMessage is a local representation of text message in LeanCloud. More...
Public Member Functions | |
LCIMTextMessage (string text) | |
Properties | |
string | Text [get, set] |
override int | MessageType [get] |
Properties inherited from LeanCloud.Realtime.LCIMTypedMessage | |
virtual int | MessageType [get] |
object | this[string key] [get, set] |
Gets message attributes. | |
Properties inherited from LeanCloud.Realtime.LCIMMessage | |
string | ConversationId [get, set] |
The conversation ID this message belongs to. | |
string | Id [get, set] |
The ID of this message. | |
string | FromClientId [get, set] |
The ID of the client who sends this message. | |
long | SentTimestamp [get, set] |
The timestamp of this message. | |
DateTime | SentAt [get] |
The sending date of this message. | |
long | DeliveredTimestamp [get, set] |
送达时间戳 | |
DateTime | DeliveredAt [get] |
The delivered date of this message. | |
long | ReadTimestamp [get, set] |
The timestamp when this message has been read by others. | |
DateTime | ReadAt [get] |
When this message has been read by others. | |
long | PatchedTimestamp [get, set] |
The timestamp when this message is updated. | |
DateTime | PatchedAt [get] |
When this message is updated. | |
List< string > | MentionIdList [get, set] |
The members in the conversation mentioned by this message. | |
bool | MentionAll [get, set] |
Whether all members in the conversation are mentioned by this message. | |
bool | Mentioned [get, set] |
Whether the current user has been mentioned in this message. | |
Additional Inherited Members | |
Static Public Member Functions inherited from LeanCloud.Realtime.LCIMTypedMessage | |
static void | Register< T > (int msgType, Func< T > msgConstructor) |
Registers a custom message type. | |
Static Public Attributes inherited from LeanCloud.Realtime.LCIMTypedMessage | |
const int | TextMessageType = -1 |
const int | ImageMessageType = -2 |
const int | AudioMessageType = -3 |
const int | VideoMessageType = -4 |
const int | LocationMessageType = -5 |
const int | FileMessageType = -6 |
const int | RecalledMessageType = -127 |
Protected Member Functions inherited from LeanCloud.Realtime.LCIMTypedMessage | |
LCIMTypedMessage () | |
Protected Attributes inherited from LeanCloud.Realtime.LCIMTypedMessage | |
Dictionary< string, object > | data = new Dictionary<string, object>() |
Complete data of message. | |
Static Protected Attributes inherited from LeanCloud.Realtime.LCIMTypedMessage | |
const string | MessageTypeKey = "_lctype" |
Preserved fields. | |
const string | MessageAttributesKey = "_lcattrs" |
const string | MessageTextKey = "_lctext" |
const string | MessageLocationKey = "_lcloc" |
const string | MessageFileKey = "_lcfile" |
const string | MessageDataLongitudeKey = "longitude" |
const string | MessageDataLatitudeKey = "latitude" |
const string | MessageDataObjectIdKey = "objId" |
const string | MessageDataUrlKey = "url" |
const string | MessageDataMetaDataKey = "metaData" |
const string | MessageDataMetaNameKey = "name" |
const string | MessageDataMetaFormatKey = "format" |
const string | MessageDataMetaSizeKey = "size" |
const string | MessageDataMetaWidthKey = "width" |
const string | MessageDataMetaHeightKey = "height" |
const string | MessageDataMetaDurationKey = "duration" |
LCIMTextMessage is a local representation of text message in LeanCloud.
|
inline |
|
get |
|
getset |