Update handler timeout

This commit is contained in:
2022-08-05 10:35:04 +03:00
parent f83cd1be37
commit da03051517

View File

@@ -27,7 +27,8 @@ export async function createApprovedBot(token: string, state: BotState): Promise
const bot = new Telegraf(token, {
telegram: {
apiRoot: env.TELEGRAM_BOT_API_ROOT,
}
},
handlerTimeout: 300_000,
});
const me = await bot.telegram.getMe();