/** * Pure Telegram-update identity: who an update is from, which conversation it * belongs to, and what (if anything) it carries as callback data. Dependency-free * and Worker-safe, so the webhook ingress, durable runners, and tests all share * one directly-testable routing/deduplication contract. */ /** Telegram's globally unique integer update id, used for durable de-duplication. */ export declare function telegramUpdateId(update: unknown): number | null; /** The raw callback_data payload, when this is a callback-query update. */ export declare function telegramCallbackData(update: unknown): string | null; /** The tapper's Telegram user id, when this is a callback-query update. */ export declare function telegramCallbackUserId(update: unknown): number | null; /** * Route one conversation to one Durable Object so its updates remain ordered while unrelated chats * can run concurrently. Every current Telegram update shape either carries a chat or an actor; the * update id is the safe final partition when it carries neither (for example a poll update). */ export declare function telegramUpdatePartition(update: unknown): string | null; //# sourceMappingURL=update-identity.d.ts.map