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

x/grammy_types/mod.ts>UserFromGetMe

Type declarations of the Telegram Bot API.
Latest
interface UserFromGetMe
implements User
Re-export
import { type UserFromGetMe } from "https://deno.land/x/grammy_types@v3.15.0/mod.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.