Class GroupJoinMessage
Group joining message.
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class GroupJoinMessage : IWolfMessage
Constructors
| Improve this Doc View SourceGroupJoinMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected GroupJoinMessage()
GroupJoinMessage(String, String)
Creates a message instance.
Declaration
public GroupJoinMessage(string groupName, string password = null)
Parameters
Type | Name | Description |
---|---|---|
String | groupName | Name of the group to join. |
String | password | Password to use when joining the group. |
GroupJoinMessage(UInt32, String)
Creates a message instance.
Declaration
public GroupJoinMessage(uint groupID, string password = null)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | groupID | ID of the group to join. |
String | password | Password to use when joining the group. |
Properties
| Improve this Doc View SourceCapabilities
User permission level in the group.
Declaration
[JsonProperty("capabilities", NullValueHandling = NullValueHandling.Ignore)]
public WolfGroupCapabilities? Capabilities { get; }
Property Value
Type | Description |
---|---|
Nullable<WolfGroupCapabilities> |
EventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to GroupMemberAdd.
GroupID
ID of the group.
Declaration
[JsonProperty("groupId", NullValueHandling = NullValueHandling.Ignore)]
public uint? GroupID { get; }
Property Value
Type | Description |
---|---|
Nullable<UInt32> |
GroupName
Name of the group.
Declaration
[JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)]
public string GroupName { get; }
Property Value
Type | Description |
---|---|
String |
Password
Group password.
Declaration
[JsonProperty("password", NullValueHandling = NullValueHandling.Ignore)]
public string Password { get; }
Property Value
Type | Description |
---|---|
String |
UserID
User who joined the group.
Declaration
[JsonProperty("subscriberId", NullValueHandling = NullValueHandling.Ignore)]
public uint? UserID { get; }
Property Value
Type | Description |
---|---|
Nullable<UInt32> |