Class UrlMetadataResponse
Response for UrlMetadataMessage containing URL metadata.
Implements
Namespace: TehGM.Wolfringo.Messages.Responses
Assembly: Wolfringo.Core.dll
Syntax
public class UrlMetadataResponse : WolfResponse, IWolfResponse
Constructors
| Improve this Doc View SourceUrlMetadataResponse()
Creates a response instance.
Declaration
[JsonConstructor]
protected UrlMetadataResponse()
Properties
| Improve this Doc View SourceDescription
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 |
---|---|
String |
Remarks
This value might be null if the URL is an image link, but also when website offers no description metadata etc.
Domain
URL domain.
Declaration
[JsonProperty("domain")]
public string Domain { get; }
Property Value
Type | Description |
---|---|
String |
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 |
---|---|
Nullable<UInt32> |
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 |
---|---|
String |
IsBlacklisted
Whether the URL is blacklisted by WOLF servers.
Declaration
[JsonProperty("isBlacklisted")]
public bool IsBlacklisted { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsOfficial
Is official link according to WOLF?
Declaration
[JsonProperty("isOfficial")]
public bool IsOfficial { get; }
Property Value
Type | Description |
---|---|
Boolean |
Title
Title of the URL website. Null for image links.
Declaration
[JsonProperty("title", NullValueHandling = NullValueHandling.Ignore)]
public string Title { get; }
Property Value
Type | Description |
---|---|
String |