Доработаны паттерны команд
This commit is contained in:
@@ -54,8 +54,8 @@ public sealed class DetailsPage : StatefullPage<string>
|
||||
await ctx.Navigation.GoToAsync<FilesPage>(ctx, ct);
|
||||
}
|
||||
|
||||
internal static string Command => "/create_request {title}";
|
||||
internal static string CommandDescription => "создание заявки /create_request {title";
|
||||
internal static string Command => "/create_request {title?}";
|
||||
internal static string CommandDescription => "создание заявки /create_request {title}";
|
||||
internal static CommandHandler CommandHandler = async (ctx, args, ct) =>
|
||||
{
|
||||
string? title = "";
|
||||
|
||||
Reference in New Issue
Block a user