Class BlockAddMessage
A message for blocking a user.
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class BlockAddMessage : IWolfMessage
Constructors
| Improve this Doc View SourceBlockAddMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected BlockAddMessage()
BlockAddMessage(UInt32)
Creates a message instance.
Declaration
public BlockAddMessage(uint userID)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | userID | ID of user to block. |
Properties
| Improve this Doc View SourceEventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to SubscriberBlockAdd.
UserID
ID of user being blocked.
Declaration
[JsonProperty("id")]
public uint UserID { get; }
Property Value
Type | Description |
---|---|
UInt32 |