Доработаны паттерны команд

This commit is contained in:
2025-12-07 11:17:21 +03:00
parent 67de9e197a
commit 7556b3d638
3 changed files with 22 additions and 8 deletions

View File

@@ -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 = "";