Module

x/grammy/types.web.ts>Chat.PrivateGetChat

The Telegram Bot Framework.
Very Popular
Go to Latest
interface Chat.PrivateGetChat
implements PrivateChat, GetChat, NonGroupGetChat, NonMultiUserGetChat
import { type Chat } from "https://dotland.deno.dev/x/grammy@v1.22.4/types.web.ts";
const { PrivateGetChat } = Chat;

Internal type representing private chats returned from getChat.

Properties

optional
birthdate: Birthdate

For private chats, the date of birth of the user. Returned only in getChat.

optional
business_intro: BusinessIntro

For private chats with business accounts, the intro of the business. Returned only in getChat.

optional
business_location: BusinessLocation

For private chats with business accounts, the location of the business. Returned only in getChat.

optional
business_opening_hours: BusinessOpeningHours

For private chats with business accounts, the opening hours of the business. Returned only in getChat.

optional
personal_chat: Chat.ChannelChat

For private chats, the personal channel of the user. 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.