Class PrivateChatHistoryMessage
A message for requesting private chat history.
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
[ResponseType(typeof(ChatHistoryResponse))]
public class PrivateChatHistoryMessage : IHeadersWolfMessage, IWolfMessage
Remarks
Uses ChatHistoryResponse as response type.
Constructors
| Improve this Doc View SourcePrivateChatHistoryMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected PrivateChatHistoryMessage()
PrivateChatHistoryMessage(UInt32, Nullable<WolfTimestamp>)
Creates a message instance.
Declaration
public PrivateChatHistoryMessage(uint userID, WolfTimestamp? before)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | userID | ID of the user. |
Nullable<WolfTimestamp> | before | Timestamp of the oldest already received message. |
Properties
| Improve this Doc View SourceBeforeTime
Timestamp of the oldest already received message.
Declaration
[JsonProperty("timestampEnd", NullValueHandling = NullValueHandling.Ignore)]
public WolfTimestamp? BeforeTime { get; }
Property Value
Type | Description |
---|---|
Nullable<WolfTimestamp> |
EventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
Equals to MessagePrivateHistoryList.
Headers
Message payload headers.
Declaration
[JsonIgnore]
public IDictionary<string, object> Headers { get; }
Property Value
Type | Description |
---|---|
IDictionary<String, Object> |
UserID
ID of the user.
Declaration
[JsonProperty("id")]
public uint UserID { get; }
Property Value
Type | Description |
---|---|
UInt32 |