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

x/grammy_types/mod.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.4.6/mod.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