Module

x/grammy/types.ts>Chat.PrivateGetChat

The Telegram Bot Framework.
Very Popular
Go to Latest
interface Chat.PrivateGetChat
implements PrivateChat, NonGroupGetChat, GetChat
import { type Chat } from "https://dotland.deno.dev/x/grammy@v1.16.1/types.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.