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

    Class TipSummaryMessage

    A message for requesting summary on messages tips.

    Inheritance
    System.Object
    TipSummaryMessage
    Implements
    IWolfMessage
    Namespace: TehGM.Wolfringo.Messages
    Assembly: Wolfringo.Core.dll
    Syntax
    [ResponseType(typeof(TipSummaryResponse))]
    public class TipSummaryMessage : IWolfMessage
    Remarks

    Uses TipSummaryResponse as response type.

    Constructors

    | Improve this Doc View Source

    TipSummaryMessage(WolfTip.ContextType, UInt32, IEnumerable<WolfTimestamp>)

    Creates a message instance.

    Declaration
    public TipSummaryMessage(WolfTip.ContextType contextType, uint groupID, IEnumerable<WolfTimestamp> messageIDs)
    Parameters
    Type Name Description
    WolfTip.ContextType contextType

    Request context type.

    System.UInt32 groupID

    Group where the messages are in.

    System.Collections.Generic.IEnumerable<WolfTimestamp> messageIDs

    List of message IDs (timestamps) to request summary of.

    Properties

    | Improve this Doc View Source

    ContextType

    Request context type.

    Declaration
    [JsonProperty("contextType")]
    [JsonConverter(typeof(StringEnumConverter), new object[]{true})]
    public WolfTip.ContextType ContextType { get; }
    Property Value
    Type Description
    WolfTip.ContextType
    | Improve this Doc View Source

    EventName

    Message event name.

    Declaration
    [JsonIgnore]
    public string EventName { get; }
    Property Value
    Type Description
    System.String
    Remarks

    Equals to TipSummary.

    | Improve this Doc View Source

    GroupID

    Group where the messages are in.

    Declaration
    [JsonProperty("groupId")]
    public uint GroupID { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    MessageIDs

    List of message IDs (timestamps) to request summary of.

    Declaration
    [JsonProperty("idList")]
    public IEnumerable<WolfTimestamp> MessageIDs { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<WolfTimestamp>

    Implements

    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)