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.url

URL that will be opened by the user's client. If you have created a Game and accepted the conditions via @BotFather, specify the URL that opens your game - note that this will only work if the query comes from a callback_game button. Otherwise, you may use links like t.me/your_bot?start=XXXX that open your bot with a parameter.

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";