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

x/grammy_types/manage.ts>Chat.PrivateGetChat

Type declarations of 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.2.2/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
emoji_status_expiration_date: number

Expiration date of the emoji status of the other party in a private chat in Unix time, if any. 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.