Class ChatUpdateMessage
A message indicating chat message update.
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
[ResponseType(typeof(ChatUpdateResponse))]
public class ChatUpdateMessage : IWolfMessage, IRawDataMessage
Remarks
Uses ChatUpdateResponse as response type.
Constructors
| Improve this Doc View SourceChatUpdateMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected ChatUpdateMessage()
Properties
| Improve this Doc View SourceEditInfo
Information about message's latest edit.
Declaration
[JsonProperty("edited", NullValueHandling = NullValueHandling.Ignore)]
public ChatMessage.EditMetadata? EditInfo { get; protected set; }
Property Value
Type | Description |
---|---|
Nullable<ChatMessage.EditMetadata> |
EventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to MessageUpdate.
HasTips
Is this message tipped?
Declaration
[JsonProperty("isTipped", NullValueHandling = NullValueHandling.Ignore)]
public bool? HasTips { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
IsDeleted
Is this message soft-deleted by group admin?
Declaration
[JsonProperty("isDeleted", NullValueHandling = NullValueHandling.Ignore)]
public bool? IsDeleted { get; protected set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
IsGroupMessage
Is it a group message?
Declaration
[JsonProperty("isGroup")]
public bool IsGroupMessage { get; protected set; }
Property Value
Type | Description |
---|---|
Boolean |
RawData
Message's raw binary data.
Declaration
[JsonIgnore]
public IReadOnlyCollection<byte> RawData { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<Byte> |
RecipientID
User or group that received the message.
Declaration
[JsonProperty("recipient")]
[JsonConverter(typeof(EntityIdConverter))]
public uint RecipientID { get; protected set; }
Property Value
Type | Description |
---|---|
UInt32 |
SenderID
User that sent the message.
Declaration
[JsonProperty("originator", NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(EntityIdConverter))]
public uint? SenderID { get; protected set; }
Property Value
Type | Description |
---|---|
Nullable<UInt32> |
Text
Message's text.
Declaration
[JsonIgnore]
public string Text { get; }
Property Value
Type | Description |
---|---|
String |
Timestamp
Message's timestamp. Used by protocol as message ID.
Declaration
[JsonProperty("timestamp")]
public WolfTimestamp Timestamp { get; protected set; }
Property Value
Type | Description |
---|---|
WolfTimestamp |