Files
telegram-bot/modules/CodeWatcher/Options/CodeWatcherMode.cs
T

21 lines
725 B
C#
Raw Normal View History

2023-07-28 16:53:01 +03:00
using Kruzya.TelegramBot.Core.Options;
namespace West.TelegramBot.CodeWatcher.Options;
public class CodeWatcherMode : AbstractOption<CodeWatcherMode, string>
{
public override string OptionId => "codeWatcherMode";
public override string OptionName => "CodeWatcher™ mode";
public override OptionType OptionType => OptionType.Select;
public override string DefaultValue => "remove";
public CodeWatcherMode(IOptionProvider optionProvider) : base(optionProvider)
{
ChoiceList.AddRange(new []
{
new SelectChoice("disabled", "Disabled", "D"),
new SelectChoice("remove", "Remove", "R"),
new SelectChoice("upload", "Upload", "U")
});
}
}