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

    Class TipAddMessage

    Message and event for adding a tip, and receiving notifications of messages being tipped.

    Inheritance
    System.Object
    TipAddMessage
    Implements
    IWolfMessage
    Namespace: TehGM.Wolfringo.Messages
    Assembly: Wolfringo.Core.dll
    Syntax
    public class TipAddMessage : IWolfMessage

    Constructors

    | Improve this Doc View Source

    TipAddMessage()

    Creates a message instance.

    Declaration
    [JsonConstructor]
    protected TipAddMessage()
    | Improve this Doc View Source

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

    Creates a message instance.

    Declaration
    public TipAddMessage(WolfTimestamp messageID, uint groupID, uint authorID, WolfTip.ContextType contextType, IEnumerable<WolfTip> tips)
    Parameters
    Type Name Description
    WolfTimestamp messageID

    ID (timestamp) of the message to tip.

    System.UInt32 groupID

    ID of the group where the message is in.

    System.UInt32 authorID

    ID of the message author.

    WolfTip.ContextType contextType

    Context type of the tip.

    System.Collections.Generic.IEnumerable<WolfTip> tips

    Tips to send.

    Properties

    | Improve this Doc View Source

    ContextType

    Context type of the tip.

    Declaration
    [JsonProperty("type")]
    [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 TipAdd.

    | Improve this Doc View Source

    GroupID

    ID of the group where the message is in.

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

    MessageAuthorID

    Author of the message.

    Declaration
    [JsonProperty("subscriberId", DefaultValueHandling = DefaultValueHandling.Ignore)]
    public uint MessageAuthorID { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    MessageID

    ID of message to tip.

    Declaration
    [JsonProperty("id")]
    public WolfTimestamp MessageID { get; }
    Property Value
    Type Description
    WolfTimestamp
    | Improve this Doc View Source

    TipperID

    The person who tipped.

    Declaration
    [JsonProperty("sourceSubscriberId", NullValueHandling = NullValueHandling.Ignore)]
    public uint? TipperID { get; }
    Property Value
    Type Description
    System.Nullable<System.UInt32>
    | Improve this Doc View Source

    Tips

    List of tips.

    Declaration
    [JsonProperty("charmList")]
    public IEnumerable<WolfTip> Tips { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<WolfTip>
    | Improve this Doc View Source

    Version

    Version of the tip. (?)

    Declaration
    [JsonProperty("version", NullValueHandling = NullValueHandling.Ignore)]
    public int? Version { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Implements

    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)