public static Link FromJson(VkResponse response)
{
var link = new Link
{
Id = response["id"],
Uri = response["url"],
Title = response["title"],
Description = response["description"] ?? response["desc"],
Image = response["image_src"],
PreviewPage = response["preview_page"],
Caption = response["caption"],
Photo = response["photo"],
IsExternal = response["is_external"],
Product = response["product"],
Rating = response["rating"],
Application = response["application"],
Button = response["button"],
PreviewUrl = response["preview_url"]
};
return link;
}