Class TipSummaryMessage
A message for requesting summary on messages tips.
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
[ResponseType(typeof(TipSummaryResponse))]
public class TipSummaryMessage : IWolfMessage
Remarks
Uses TipSummaryResponse as response type.
Constructors
| Improve this Doc View SourceTipSummaryMessage(WolfTip.ContextType, UInt32, IEnumerable<WolfTimestamp>)
Creates a message instance.
Declaration
public TipSummaryMessage(WolfTip.ContextType contextType, uint groupID, IEnumerable<WolfTimestamp> messageIDs)
Parameters
Type | Name | Description |
---|---|---|
WolfTip.ContextType | contextType | Request context type. |
UInt32 | groupID | Group where the messages are in. |
IEnumerable<WolfTimestamp> | messageIDs | List of message IDs (timestamps) to request summary of. |
Properties
| Improve this Doc View SourceContextType
Request context type.
Declaration
[JsonProperty("contextType")]
[JsonConverter(typeof(StringEnumConverter), new object[]{true})]
public WolfTip.ContextType ContextType { get; }
Property Value
Type | Description |
---|---|
WolfTip.ContextType |
EventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to TipSummary.
GroupID
Group where the messages are in.
Declaration
[JsonProperty("groupId")]
public uint GroupID { get; }
Property Value
Type | Description |
---|---|
UInt32 |
MessageIDs
List of message IDs (timestamps) to request summary of.
Declaration
[JsonProperty("idList")]
public IEnumerable<WolfTimestamp> MessageIDs { get; }
Property Value
Type | Description |
---|---|
IEnumerable<WolfTimestamp> |