Class GroupMembersListMessage
A message for requesting group members list.
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
[ResponseType(typeof(GroupMembersListResponse))]
public class GroupMembersListMessage : IHeadersWolfMessage, IWolfMessage
Remarks
Uses GroupMembersListResponse as response type.
Constructors
| Improve this Doc View SourceGroupMembersListMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected GroupMembersListMessage()
GroupMembersListMessage(UInt32, Boolean)
Creates a message instance.
Declaration
public GroupMembersListMessage(uint groupID, bool subscribe = true)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | groupID | ID of the group to get members of. |
Boolean | subscribe | Subscribe to group members' profile updates? |
Properties
| Improve this Doc View SourceEventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to GroupMemberList.
GroupID
ID of the group.
Declaration
[JsonProperty("id")]
public uint GroupID { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Headers
Message payload headers.
Declaration
[JsonIgnore]
public IDictionary<string, object> Headers { get; }
Property Value
Type | Description |
---|---|
IDictionary<String, Object> |
SubscribeToUpdates
Subscribe to group members' profile updates?
Declaration
[JsonProperty("subscribe")]
public bool SubscribeToUpdates { get; }
Property Value
Type | Description |
---|---|
Boolean |