Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/types.ts>ResponseParameters

The Telegram Bot Framework.
Very Popular
Go to Latest
interface ResponseParameters
import { type ResponseParameters } from "https://deno.land/x/grammy@v1.10.1/types.ts";

Describes why a request was unsuccessful.

Properties

optional
migrate_to_chat_id: number

The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.

optional
retry_after: number

In case of exceeding flood control, the number of seconds left to wait before the request can be repeated