Module

x/grammy/types.ts

The Telegram Bot Framework.
Go to Latest
interface UserFromGetMe
implements User
import { type UserFromGetMe } from "https://deno.land/x/grammy@v1.10.1/types.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.

import UserFromGetMe
import { UserFromGetMe } from "https://deno.land/x/grammy@v1.10.1/types.ts";