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

x/grammy_types/manage.ts>Chat.PrivateGetChat

Types for the Telegram Bot API
Go to Latest
interface Chat.PrivateGetChat
implements PrivateChat, NonGroupGetChat, GetChat
import { type Chat } from "https://deno.land/x/grammy_types@v3.0.3/manage.ts";
const { PrivateGetChat } = Chat;

Internal type representing private chats returned from getChat.

Properties

optional
emoji_status_custom_emoji_id: string

Custom emoji identifier of emoji status of the other party in a private chat. Returned only in getChat.

optional
bio: string

Bio of the other party in a private chat. Returned only in getChat.

optional
has_private_forwards: true

True, if privacy settings of the other party in the private chat allows to use tg://user?id=<user_id> links only in chats with the user. Returned only in getChat.

optional
has_restricted_voice_and_video_messages: true

True, if the privacy settings of the other party restrict sending voice and video note messages in the private chat. Returned only in getChat.