mirror of
https://github.com/vknet/vk.git
synced 2026-07-13 01:48:25 +00:00
29 lines
No EOL
551 B
C#
29 lines
No EOL
551 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace VkNet.Model;
|
|
|
|
/// <summary>
|
|
/// Кнопка.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class Button
|
|
{
|
|
/// <summary>
|
|
/// Название кнопки.
|
|
/// </summary>
|
|
[JsonProperty("title")]
|
|
public string Title { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ссылка на которую ведет кнопка.
|
|
/// </summary>
|
|
[JsonProperty("url")]
|
|
public Uri Uri { get; set; }
|
|
|
|
/// <summary>
|
|
/// Действие
|
|
/// </summary>
|
|
[JsonProperty("action")]
|
|
public LinkButtonAction Action { get; set; }
|
|
} |