Use this method to get current webhook status. Requires no parameters. On success, returns a WebhookInfo object. If the bot is using getUpdates, will return an object with the url field empty.
Use this method to get current webhook status. Requires no parameters. On success, returns a WebhookInfo object. If the bot is using getUpdates, will return an object with the url field empty.
Add Package
deno add jsr:@gramio/types
Import symbol
import { type APIMethods } from "@gramio/types";
---- OR ----
Import directly with a jsr specifier
import { type APIMethods } from "jsr:@gramio/types";
Add Package
npx jsr add @gramio/types
Import symbol
import { type APIMethods } from "@gramio/types";
Add Package
yarn dlx jsr add @gramio/types
Import symbol
import { type APIMethods } from "@gramio/types";
Add Package
pnpm dlx jsr add @gramio/types
Import symbol
import { type APIMethods } from "@gramio/types";
Add Package
bunx jsr add @gramio/types
Import symbol
import { type APIMethods } from "@gramio/types";