Something went wrong. Try again.
A local-first event pipeline for independent agents, built on Jazz.
Something went wrong. Try again.
355 B · 5 lines
TypeScript
123456export const TELEGRAM_IMAGE_MAX_BYTES = 7 * 1024 * 1024;export const TELEGRAM_IMAGE_MAX_BASE64_CHARS = Math.ceil(TELEGRAM_IMAGE_MAX_BYTES / 3) * 4;export const TELEGRAM_IMAGE_MAX_PER_MESSAGE = 1;export const TELEGRAM_IMAGE_MIME_TYPES = ["image/png", "image/jpeg"] as const;export type TelegramImageMimeType = typeof TELEGRAM_IMAGE_MIME_TYPES[number];