chore: prep 2026.1.14 npm release

This commit is contained in:
Peter Steinberger
2026-01-15 07:46:51 +00:00
parent 081e5ef572
commit 79f340a410
18 changed files with 353 additions and 348 deletions

View File

@@ -69,7 +69,10 @@ export function getTelegramSequentialKey(ctx: {
const chatId = msg?.chat?.id ?? ctx.chat?.id;
const rawText = msg?.text ?? msg?.caption;
const botUsername = (ctx as { me?: { username?: string } }).me?.username;
if (rawText && isControlCommandMessage(rawText, undefined, botUsername ? { botUsername } : undefined)) {
if (
rawText &&
isControlCommandMessage(rawText, undefined, botUsername ? { botUsername } : undefined)
) {
if (typeof chatId === "number") return `telegram:${chatId}:control`;
return "telegram:control";
}