using TelegramBotBase.Attributes; namespace TelegramBotBase.Form { /// /// A simple prompt dialog with one ok Button /// [IgnoreState] public class AlertDialog : ConfirmDialog { public string ButtonText { get; set; } public AlertDialog(string message, string buttonText) : base(message) { Buttons.Add(new ButtonBase(buttonText, "ok")); this.ButtonText = buttonText; } } }