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

    Class BlockAddMessage

    A message for blocking a user.

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

    Constructors

    | Improve this Doc View Source

    BlockAddMessage()

    Creates a message instance.

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

    BlockAddMessage(UInt32)

    Creates a message instance.

    Declaration
    public BlockAddMessage(uint userID)
    Parameters
    Type Name Description
    System.UInt32 userID

    ID of user to block.

    Properties

    | Improve this Doc View Source

    EventName

    Message event name.

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

    Equals to SubscriberBlockAdd.

    | Improve this Doc View Source

    UserID

    ID of user being blocked.

    Declaration
    [JsonProperty("id")]
    public uint UserID { get; }
    Property Value
    Type Description
    System.UInt32

    Implements

    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)