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

    Class ChatHistoryResponse

    Wolf server's response for GroupChatHistoryMessage and PrivateChatHistoryMessage.

    Inheritance
    System.Object
    WolfResponse
    ChatHistoryResponse
    RecentConversationsResponse
    Implements
    IWolfResponse
    Inherited Members
    WolfResponse.StatusCode
    WolfResponse.ErrorCode
    WolfResponse.ErrorMessage
    Namespace: TehGM.Wolfringo.Messages.Responses
    Assembly: Wolfringo.Core.dll
    Syntax
    public class ChatHistoryResponse : WolfResponse, IWolfResponse

    Constructors

    | Improve this Doc View Source

    ChatHistoryResponse()

    Creates a response instance.

    Declaration
    [JsonConstructor]
    protected ChatHistoryResponse()

    Properties

    | Improve this Doc View Source

    Messages

    Messages from history.

    Declaration
    [JsonProperty("body", ItemConverterType = typeof(ChatMessageConverter))]
    public IEnumerable<IChatMessage> Messages { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IChatMessage>

    Implements

    IWolfResponse

    Extension Methods

    WolfResponseExtensions.IsSuccess(IWolfResponse)
    WolfResponseExtensions.IsError(IWolfResponse)