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

    Class GroupAdminMessage

    A message for invoking a group action.

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

    Constructors

    | Improve this Doc View Source

    GroupAdminMessage()

    Creates a message instance.

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

    GroupAdminMessage(UInt32, UInt32, WolfGroupCapabilities)

    Creates a message instance.

    Declaration
    public GroupAdminMessage(uint userID, uint groupID, WolfGroupCapabilities newCapabilities)
    Parameters
    Type Name Description
    System.UInt32 userID

    ID of group member to perform action on.

    System.UInt32 groupID

    ID of group to perform action in.

    WolfGroupCapabilities newCapabilities

    Group member's new capabilities.

    Properties

    | Improve this Doc View Source

    Capabilities

    Group member's new capabilities.

    Declaration
    [JsonProperty("capabilities", NullValueHandling = NullValueHandling.Ignore)]
    public WolfGroupCapabilities Capabilities { get; }
    Property Value
    Type Description
    WolfGroupCapabilities
    | Improve this Doc View Source

    EventName

    Message event name.

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

    Equals to GroupAdmin.

    | Improve this Doc View Source

    GroupID

    ID of the group.

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

    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
    System.UInt32

    Implements

    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)

    See Also

    GroupActionChatEvent