Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class PrivateChatHistoryMessage

    A message for requesting private chat history.

    Inheritance
    System.Object
    PrivateChatHistoryMessage
    Implements
    IHeadersWolfMessage
    IWolfMessage
    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 Source

    PrivateChatHistoryMessage()

    Creates a message instance.

    Declaration
    [JsonConstructor]
    protected PrivateChatHistoryMessage()
    | Improve this Doc View Source

    PrivateChatHistoryMessage(UInt32, Nullable<WolfTimestamp>)

    Creates a message instance.

    Declaration
    public PrivateChatHistoryMessage(uint userID, WolfTimestamp? before)
    Parameters
    Type Name Description
    System.UInt32 userID

    ID of the user.

    System.Nullable<WolfTimestamp> before

    Timestamp of the oldest already received message.

    Properties

    | Improve this Doc View Source

    BeforeTime

    Timestamp of the oldest already received message.

    Declaration
    [JsonProperty("timestampEnd", NullValueHandling = NullValueHandling.Ignore)]
    public WolfTimestamp? BeforeTime { get; }
    Property Value
    Type Description
    System.Nullable<WolfTimestamp>
    | Improve this Doc View Source

    EventName

    Message event name.

    Declaration
    [JsonIgnore]
    public string EventName { get; }
    Property Value
    Type Description
    System.String
    Remarks

    Equals to MessagePrivateHistoryList.

    | Improve this Doc View Source

    Headers

    Message payload headers.

    Declaration
    [JsonIgnore]
    public IDictionary<string, object> Headers { get; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>
    | Improve this Doc View Source

    UserID

    ID of the user.

    Declaration
    [JsonProperty("id")]
    public uint UserID { get; }
    Property Value
    Type Description
    System.UInt32

    Implements

    IHeadersWolfMessage
    IWolfMessage

    Extension Methods

    SerializationHelper.SerializeJsonPayload<T>(T, JsonSerializer)