Class ChatUpdateResponse
Wolf server's response for ChatUpdateMessage.
Namespace: TehGM.Wolfringo.Messages.Responses
Assembly: Wolfringo.Core.dll
Syntax
public class ChatUpdateResponse : WolfResponse, IWolfResponse, IRawDataMessage
Constructors
| Improve this Doc View SourceChatUpdateResponse()
Creates a response instance.
Declaration
[JsonConstructor]
protected ChatUpdateResponse()
Properties
| Improve this Doc View SourceEditInfo
Information about message's latest edit.
Declaration
[JsonProperty("edited")]
public ChatMessage.EditMetadata? EditInfo { get; }
Property Value
Type | Description |
---|---|
Nullable<ChatMessage.EditMetadata> |
IsDeleted
Is this message soft-deleted by group admin?
Declaration
[JsonProperty("isDeleted", DefaultValueHandling = DefaultValueHandling.Ignore, NullValueHandling = NullValueHandling.Ignore)]
public bool IsDeleted { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsGroupMessage
Is it a group message?
Declaration
[JsonProperty("isGroup")]
public bool IsGroupMessage { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsImage
Is it an image message?
Declaration
[JsonIgnore]
public bool IsImage { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsPrivateMessage
Is it a private message?
Declaration
[JsonIgnore]
public bool IsPrivateMessage { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsText
Is it a text message?
Declaration
[JsonIgnore]
public bool IsText { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsVoice
Is it a voice message?
Declaration
[JsonIgnore]
public bool IsVoice { get; }
Property Value
Type | Description |
---|---|
Boolean |
MimeType
Type of the message.
Declaration
[JsonProperty("mimeType")]
public string MimeType { get; }
Property Value
Type | Description |
---|---|
String |
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; }
Property Value
Type | Description |
---|---|
UInt32 |
SenderID
User that sent the message.
Declaration
[JsonProperty("originator", NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(EntityIdConverter))]
public uint SenderID { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Text
Message's text.
Declaration
[JsonIgnore]
public string Text { get; }
Property Value
Type | Description |
---|---|
String |
Timestamp
Message's timestamp.
Declaration
[JsonProperty("timestamp")]
public WolfTimestamp Timestamp { get; }
Property Value
Type | Description |
---|---|
WolfTimestamp |