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

    Class GroupJoinMessage

    Group joining message.

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

    Constructors

    | Improve this Doc View Source

    GroupJoinMessage()

    Creates a message instance.

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

    GroupJoinMessage(String, String)

    Creates a message instance.

    Declaration
    [Obsolete("Joining group by name has been removed from the protocol.")]
    public GroupJoinMessage(string groupName, string password = null)
    Parameters
    Type Name Description
    System.String groupName

    Name of the group to join.

    System.String password

    Password to use when joining the group.

    | Improve this Doc View Source

    GroupJoinMessage(UInt32, String)

    Creates a message instance.

    Declaration
    public GroupJoinMessage(uint groupID, string password = null)
    Parameters
    Type Name Description
    System.UInt32 groupID

    ID of the group to join.

    System.String password

    Password to use when joining the group.

    Properties

    | Improve this Doc View Source

    Capabilities

    User permission level in the group.

    Declaration
    [JsonProperty("capabilities", NullValueHandling = NullValueHandling.Ignore)]
    public WolfGroupCapabilities? Capabilities { get; }
    Property Value
    Type Description
    System.Nullable<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 GroupMemberAdd.

    | Improve this Doc View Source

    GroupID

    ID of the group.

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

    GroupName

    Name of the group.

    Declaration
    [Obsolete("This property has been removed from the protocol")]
    [JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)]
    public string GroupName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Password

    Group password.

    Declaration
    [JsonProperty("password", NullValueHandling = NullValueHandling.Ignore)]
    public string Password { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    UserID

    User who joined the group.

    Declaration
    [JsonProperty("subscriberId", NullValueHandling = NullValueHandling.Ignore)]
    public uint? UserID { get; }
    Property Value
    Type Description
    System.Nullable<System.UInt32>

    Implements

    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)