public static Comment FromJson(VkResponse response)
{
var comment = new Comment
{
Id = response["id"],
FromId = response["from_id"],
Date = response["date"],
Text = response["text"],
ReplyToUserId = response["reply_to_user"],
ReplyToCommentId = response["reply_to_comment"],
Attachments = response["attachments"],
Likes = response["likes"] // установлено экcпериментальным путем
};
return comment;
}