Class GroupAdminMessage
A message for invoking a group action.
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class GroupAdminMessage : IWolfMessage
Constructors
| Improve this Doc View SourceGroupAdminMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected GroupAdminMessage()
GroupAdminMessage(UInt32, UInt32, WolfGroupCapabilities)
Creates a message instance.
Declaration
public GroupAdminMessage(uint userID, uint groupID, WolfGroupCapabilities newCapabilities)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | userID | ID of group member to perform action on. |
UInt32 | groupID | ID of group to perform action in. |
WolfGroupCapabilities | newCapabilities | Group member's new capabilities. |
Properties
| Improve this Doc View SourceCapabilities
Group member's new capabilities.
Declaration
[JsonProperty("capabilities", NullValueHandling = NullValueHandling.Ignore)]
public WolfGroupCapabilities Capabilities { get; }
Property Value
Type | Description |
---|---|
WolfGroupCapabilities |
EventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to GroupAdmin.
GroupID
ID of the group.
Declaration
[JsonProperty("groupId")]
public uint GroupID { get; }
Property Value
Type | Description |
---|---|
UInt32 |
UserID
ID of group member that is target of the action.
Declaration
[JsonProperty("subscriberId", NullValueHandling = NullValueHandling.Ignore)]
public uint UserID { get; }
Property Value
Type | Description |
---|---|
UInt32 |