addCommand(new AddDeviceCommand());
addCommand(new BlockCommand());
addCommand(new DaemonCommand());
+ addCommand(new DeleteLocalAccountDataCommand());
+ addCommand(new FinishChangeNumberCommand());
addCommand(new FinishLinkCommand());
+ addCommand(new GetAttachmentCommand());
+ addCommand(new GetAvatarCommand());
+ addCommand(new GetStickerCommand());
addCommand(new GetUserStatusCommand());
+ addCommand(new AddStickerPackCommand());
addCommand(new JoinGroupCommand());
addCommand(new JsonRpcDispatcherCommand());
addCommand(new LinkCommand());
addCommand(new RemoteDeleteCommand());
addCommand(new SendCommand());
addCommand(new SendContactsCommand());
+ addCommand(new SendMessageRequestResponseCommand());
+ addCommand(new SendPaymentNotificationCommand());
addCommand(new SendReactionCommand());
addCommand(new SendReceiptCommand());
addCommand(new SendSyncRequestCommand());
addCommand(new SendTypingCommand());
addCommand(new SetPinCommand());
addCommand(new SubmitRateLimitChallengeCommand());
+ addCommand(new StartChangeNumberCommand());
addCommand(new StartLinkCommand());
addCommand(new TrustCommand());
addCommand(new UnblockCommand());
private static void addCommand(Command command) {
commands.put(command.getName(), command);
- if (command instanceof CliCommand) {
- commandSubparserAttacher.put(command.getName(), ((CliCommand) command)::attachToSubparser);
+ if (command instanceof CliCommand cliCommand) {
+ commandSubparserAttacher.put(command.getName(), cliCommand::attachToSubparser);
}
}
}