Skip to main content

@smol/gram@2.3.0
Built and signed on GitHub Actions

Tiny (smol) Telegram Bot API client library with TypeScript types

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (2.3.0)
property TgAnswerCallbackQueryParams.cache_time

The maximum amount of time in seconds that the result of the callback query may be cached client-side. Telegram apps will support caching starting in version 3.14. Defaults to 0.

Type

Add Package

deno add jsr:@smol/gram

Import symbol

import { type TgAnswerCallbackQueryParams } from "@smol/gram";

---- OR ----

Import directly with a jsr specifier

import { type TgAnswerCallbackQueryParams } from "jsr:@smol/gram";

Add Package

npx jsr add @smol/gram

Import symbol

import { type TgAnswerCallbackQueryParams } from "@smol/gram";

Add Package

yarn dlx jsr add @smol/gram

Import symbol

import { type TgAnswerCallbackQueryParams } from "@smol/gram";

Add Package

pnpm dlx jsr add @smol/gram

Import symbol

import { type TgAnswerCallbackQueryParams } from "@smol/gram";

Add Package

bunx jsr add @smol/gram

Import symbol

import { type TgAnswerCallbackQueryParams } from "@smol/gram";