|
|
|
|
@ -115,6 +115,12 @@ export function createNativeCommandTestParams(
|
|
|
|
|
modelNames: new Map<string, string>(),
|
|
|
|
|
})) as TelegramBotDeps["buildModelsProviderData"],
|
|
|
|
|
listSkillCommandsForAgents,
|
|
|
|
|
syncTelegramMenuCommands: vi.fn(({ bot, commandsToRegister }) => {
|
|
|
|
|
if (commandsToRegister.length === 0) {
|
|
|
|
|
return undefined;
|
|
|
|
|
}
|
|
|
|
|
return bot.api.setMyCommands(commandsToRegister);
|
|
|
|
|
}) as TelegramBotDeps["syncTelegramMenuCommands"],
|
|
|
|
|
wasSentByBot: vi.fn(() => false) as TelegramBotDeps["wasSentByBot"],
|
|
|
|
|
};
|
|
|
|
|
return createBaseNativeCommandTestParams({
|
|
|
|
|
|