chore: prep 2026.1.14 npm release
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user