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

    Class UrlMetadataResponse

    Response for UrlMetadataMessage containing URL metadata.

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

    Constructors

    | Improve this Doc View Source

    UrlMetadataResponse()

    Creates a response instance.

    Declaration
    [JsonConstructor]
    protected UrlMetadataResponse()

    Properties

    | Improve this Doc View Source

    Description

    Description of the URL website. Can be null in various situations.

    Declaration
    [JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
    public string Description { get; }
    Property Value
    Type Description
    System.String
    Remarks

    This value might be null if the URL is an image link, but also when website offers no description metadata etc.

    | Improve this Doc View Source

    Domain

    URL domain.

    Declaration
    [JsonProperty("domain")]
    public string Domain { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ImageSize

    Size of embed image in bytes. Null if website contains no image.

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

    ImageURL

    URL of embed image. Null if website contains no image.

    Declaration
    [JsonProperty("imageUrl", NullValueHandling = NullValueHandling.Ignore)]
    public string ImageURL { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    IsBlacklisted

    Whether the URL is blacklisted by WOLF servers.

    Declaration
    [JsonProperty("isBlacklisted")]
    public bool IsBlacklisted { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsOfficial

    Is official link according to WOLF?

    Declaration
    [JsonProperty("isOfficial")]
    public bool IsOfficial { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Title

    Title of the URL website. Null for image links.

    Declaration
    [JsonProperty("title", NullValueHandling = NullValueHandling.Ignore)]
    public string Title { get; }
    Property Value
    Type Description
    System.String

    Implements

    IWolfResponse

    Extension Methods

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