using System; using Newtonsoft.Json; using VkNet.Enums.StringEnums; namespace VkNet.Model; /// /// Кнопка клавиатуры, отправляемая ботом. /// [Serializable] [JsonObject(MemberSerialization.OptOut)] public class MessageKeyboardButton { /// /// Информация содержащаяся в кнопке /// [JsonProperty("action")] public MessageKeyboardButtonAction Action { get; set; } /// /// Цвет кнопки /// [JsonProperty("color", NullValueHandling = NullValueHandling.Ignore)] public KeyboardButtonColor? Color { get; set; } }