Module

x/grammy_types/manage.ts>UserFromGetMe

Type declarations of the Telegram Bot API.
Latest
interface UserFromGetMe
implements User
import { type UserFromGetMe } from "https://dotland.deno.dev/x/grammy_types@v3.15.0/manage.ts";

This object represents a Telegram user or bot that was returned by getMe.

Properties

is_bot: true
username: string
can_join_groups: boolean

True, if the bot can be invited to groups. Returned only in getMe.

can_read_all_group_messages: boolean

True, if privacy mode is disabled for the bot. Returned only in getMe.

supports_inline_queries: boolean

True, if the bot supports inline queries. Returned only in getMe.

can_connect_to_business: boolean

True, if the bot can be connected to a Telegram Business account to receive its messages. Returned only in getMe.

has_main_web_app: boolean

True, if the bot has main Web App. Returned only in getMe.