internal static BotCommand Define(string label, BotAction action) { return(new BotCommand { Label = label, Action = action }); }
internal static BotCommand <TIn, TOut> Define <TIn, TOut> (string label, BotAction action, Func <TIn, TOut> dataFactory) { return(new BotCommand <TIn, TOut> ( label, action, dataFactory )); }