Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grammy_types/manage.ts>Chat.PrivateChat

Type declarations of the Telegram Bot API.
Go to Latest
interface Chat.PrivateChat
implements AbstractChat, UserNameChat
import { type Chat } from "https://deno.land/x/grammy_types@v3.5.1/manage.ts";
const { PrivateChat } = Chat;

Internal type representing private chats.

Properties

type: "private"
first_name: string

First name of the other party in a private chat

optional
last_name: string

Last name of the other party in a private chat