Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class ChatUpdateResponse

    Wolf server's response for ChatUpdateMessage.

    Inheritance
    System.Object
    WolfResponse
    ChatUpdateResponse
    Implements
    IWolfResponse
    IRawDataMessage
    Inherited Members
    WolfResponse.StatusCode
    WolfResponse.ErrorCode
    WolfResponse.ErrorMessage
    Namespace: TehGM.Wolfringo.Messages.Responses
    Assembly: Wolfringo.Core.dll
    Syntax
    public class ChatUpdateResponse : WolfResponse, IWolfResponse, IRawDataMessage

    Constructors

    | Improve this Doc View Source

    ChatUpdateResponse()

    Creates a response instance.

    Declaration
    [JsonConstructor]
    protected ChatUpdateResponse()

    Properties

    | Improve this Doc View Source

    EditInfo

    Information about message's latest edit.

    Declaration
    [JsonProperty("edited")]
    public ChatMessage.EditMetadata? EditInfo { get; }
    Property Value
    Type Description
    System.Nullable<ChatMessage.EditMetadata>
    | Improve this Doc View Source

    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
    System.Boolean
    | Improve this Doc View Source

    IsGroupMessage

    Is it a group message?

    Declaration
    [JsonProperty("isGroup")]
    public bool IsGroupMessage { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsImage

    Is it an image message?

    Declaration
    [JsonIgnore]
    public bool IsImage { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsPrivateMessage

    Is it a private message?

    Declaration
    [JsonIgnore]
    public bool IsPrivateMessage { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsText

    Is it a text message?

    Declaration
    [JsonIgnore]
    public bool IsText { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsVoice

    Is it a voice message?

    Declaration
    [JsonIgnore]
    public bool IsVoice { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    MimeType

    Type of the message.

    Declaration
    [JsonProperty("mimeType")]
    public string MimeType { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    RawData

    Message's raw binary data.

    Declaration
    [JsonIgnore]
    public IReadOnlyCollection<byte> RawData { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyCollection<System.Byte>
    | Improve this Doc View Source

    RecipientID

    User or group that received the message.

    Declaration
    [JsonProperty("recipient")]
    [JsonConverter(typeof(EntityIdConverter))]
    public uint RecipientID { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    SenderID

    User that sent the message.

    Declaration
    [JsonProperty("originator", NullValueHandling = NullValueHandling.Ignore)]
    [JsonConverter(typeof(EntityIdConverter))]
    public uint SenderID { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    Text

    Message's text.

    Declaration
    [JsonIgnore]
    public string Text { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Timestamp

    Message's timestamp.

    Declaration
    [JsonProperty("timestamp")]
    public WolfTimestamp Timestamp { get; }
    Property Value
    Type Description
    WolfTimestamp

    Implements

    IWolfResponse
    IRawDataMessage

    Extension Methods

    WolfResponseExtensions.IsSuccess(IWolfResponse)
    WolfResponseExtensions.IsError(IWolfResponse)