Заметка пользователя. См. описание .
Inheritance: MediaAttachment
Beispiel #1
0
        internal static Note FromJson(VkResponse response)
        {
            // TODO: TEST IT!!!!!
            var note = new Note();

            note.Id = response["id"];
            note.OwnerId = response["owner_id"];
            note.Title = response["title"];
            note.Text = response["text"];
            note.Date = response["date"];
            note.CommentsCount = response["comments"];
            note.ReadCommentsCount = response["read_comments"];

            return note;
        }
Beispiel #2
0
Datei: Note.cs Projekt: kadkin/vk
		internal static Note FromJson(VkResponse response)
		{
			var note = new Note
			{
				Id = response["id"],
				OwnerId = response["user_id"],
				Title = response["title"],
				Text = response["text"],
				Date = response["date"],
				CommentsCount = response["comments"],
				ReadCommentsCount = response["read_comments"],
				ViewUrl = response["view_url"]
			};

			return note;
		}