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

    Class ChatUpdateMessage.Builder

    A builder class for ChatUpdateMessage.

    Inheritance
    System.Object
    ChatUpdateMessage.Builder
    Namespace: TehGM.Wolfringo.Messages
    Assembly: Wolfringo.Core.dll
    Syntax
    public class Builder

    Constructors

    | Improve this Doc View Source

    Builder(ChatMessage)

    Creates a builder instance from an existing message object.

    Declaration
    public Builder(ChatMessage message)
    Parameters
    Type Name Description
    ChatMessage message
    | Improve this Doc View Source

    Builder(WolfTimestamp, UInt32, Boolean)

    Creates a builder instance from message information.

    Declaration
    public Builder(WolfTimestamp timestamp, uint recipientID, bool isGroupMessage)
    Parameters
    Type Name Description
    WolfTimestamp timestamp
    System.UInt32 recipientID
    System.Boolean isGroupMessage

    Properties

    | Improve this Doc View Source

    IsDeleted

    Is this message soft-deleted by group admin?

    Declaration
    public bool? IsDeleted { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    IsGroupMessage

    Is it a group message?

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

    RecipientID

    User or group that received the message.

    Declaration
    public uint RecipientID { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    Timestamp

    Message's timestamp. Used by protocol as message ID.

    Declaration
    public WolfTimestamp Timestamp { get; }
    Property Value
    Type Description
    WolfTimestamp

    Methods

    | Improve this Doc View Source

    Build()

    Builds the message.

    Declaration
    public ChatUpdateMessage Build()
    Returns
    Type Description
    ChatUpdateMessage

    Built ChatUpdateMessage.