Class WolfGroup
Wolf group.
Namespace: TehGM.Wolfringo
Assembly: Wolfringo.Core.dll
Syntax
public class WolfGroup : IWolfEntity, IEquatable<WolfGroup>
Constructors
| Improve this Doc View SourceWolfGroup()
Creates a new instance of WOLF group object.
Declaration
[JsonConstructor]
protected WolfGroup()
Properties
| Improve this Doc View SourceAudioConfig
Group's audio configuration.
Declaration
[JsonProperty("audioConfig")]
public WolfGroup.WolfGroupAudioConfig AudioConfig { get; }
Property Value
Type | Description |
---|---|
WolfGroup.WolfGroupAudioConfig |
AudioCounts
Group's audio channel active members count.
Declaration
[JsonProperty("audioCounts")]
public WolfGroup.WolfGroupAudioCounts AudioCounts { get; }
Property Value
Type | Description |
---|---|
WolfGroup.WolfGroupAudioCounts |
Description
Group's short description.
Declaration
[JsonProperty("description")]
public string Description { get; }
Property Value
Type | Description |
---|---|
String |
EntryReputationLevel
Group's entry reputation level.
Declaration
[JsonProperty("entryLevel", NullValueHandling = NullValueHandling.Ignore)]
public int? EntryReputationLevel { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
Remarks
If this value is null, group request with extended data is required.
Hash
Entity state hash.
Declaration
[JsonProperty("hash")]
public string Hash { get; }
Property Value
Type | Description |
---|---|
String |
Icon
Group icon ID.
Declaration
[JsonProperty("icon")]
public int? Icon { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
ID
ID of the group.
Declaration
[JsonProperty("id")]
public uint ID { get; }
Property Value
Type | Description |
---|---|
UInt32 |
IsDiscoverable
Is group publicly discoverable?
Declaration
[JsonProperty("discoverable", NullValueHandling = NullValueHandling.Ignore)]
public bool? IsDiscoverable { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
Remarks
If this value is null, group request with extended data is required.
IsExtendedAdminEnabled
Is extended admin privilege enabled in this group?
Declaration
[JsonProperty("advancedAdmin", NullValueHandling = NullValueHandling.Ignore)]
public bool? IsExtendedAdminEnabled { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
Remarks
If this value is null, group request with extended data is required.
IsLocked
Is group locked?
Declaration
[JsonProperty("locked", NullValueHandling = NullValueHandling.Ignore)]
public bool? IsLocked { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
Remarks
If this value is null, group request with extended data is required.
IsOfficial
Is this group official?
Declaration
[JsonProperty("official")]
public bool IsOfficial { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsPassworded
Is group password protected?
Declaration
[JsonProperty("passworded", NullValueHandling = NullValueHandling.Ignore)]
public bool? IsPassworded { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
Remarks
If this value is null, group request with extended data is required.
IsPeekable
Is message history visible even if user is not in the group?
Declaration
[JsonProperty("peekable")]
public bool IsPeekable { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsPremium
Is group premium?
Declaration
[JsonProperty("premium")]
public bool IsPremium { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsQuestionable
Is group marked as questionable?
Declaration
[JsonProperty("questionable", NullValueHandling = NullValueHandling.Ignore)]
public bool? IsQuestionable { get; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
Remarks
If this value is null, group request with extended data is required.
Language
Language of the group.
Declaration
[JsonProperty("language", NullValueHandling = NullValueHandling.Ignore)]
public WolfLanguage? Language { get; }
Property Value
Type | Description |
---|---|
Nullable<WolfLanguage> |
Remarks
If this value is null, group request with extended data is required.
LongDescription
Long description of the group.
Declaration
[JsonProperty("longDescription", NullValueHandling = NullValueHandling.Ignore)]
public string LongDescription { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
If this value is null, group request with extended data might be required.
Members
Group members.
Declaration
[JsonIgnore]
public IReadOnlyDictionary<uint, WolfGroupMember> Members { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<UInt32, WolfGroupMember> |
Name
Group public name.
Declaration
[JsonProperty("name")]
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
OwnerID
ID of group owner.
Declaration
[JsonProperty("owner")]
[JsonConverter(typeof(EntityIdConverter))]
public uint OwnerID { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceEquals(WolfGroup)
Declaration
public bool Equals(WolfGroup other)
Parameters
Type | Name | Description |
---|---|---|
WolfGroup | other |
Returns
Type | Description |
---|---|
Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
Operators
| Improve this Doc View SourceEquality(WolfGroup, WolfGroup)
Declaration
public static bool operator ==(WolfGroup left, WolfGroup right)
Parameters
Type | Name | Description |
---|---|---|
WolfGroup | left | |
WolfGroup | right |
Returns
Type | Description |
---|---|
Boolean |
Inequality(WolfGroup, WolfGroup)
Declaration
public static bool operator !=(WolfGroup left, WolfGroup right)
Parameters
Type | Name | Description |
---|---|---|
WolfGroup | left | |
WolfGroup | right |
Returns
Type | Description |
---|---|
Boolean |