Module

x/grammy/types.web.ts>BusinessConnection

The Telegram Bot Framework.
Very Popular
Go to Latest
interface BusinessConnection
import { type BusinessConnection } from "https://dotland.deno.dev/x/grammy@v1.22.4/types.web.ts";

Describes the connection of the bot with a business account.

Properties

id: string

Unique identifier of the business connection

user: User

Business account user that created the business connection

user_chat_id: number

Identifier of a private chat with the user who created the business connection.

date: number

Date the connection was established in Unix time

can_reply: boolean

True, if the bot can act on behalf of the business account in chats that were active in the last 24 hours

is_enabled: boolean

True, if the connection is active

import BusinessConnection
import { BusinessConnection } from "https://dotland.deno.dev/x/grammy@v1.22.4/types.web.ts";