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

x/grammy/types.ts>Chat.PrivateChat

The Telegram Bot Framework.
Very Popular
Go to Latest
interface Chat.PrivateChat
implements AbstractChat, UserNameChat
import { type Chat } from "https://deno.land/x/grammy@v1.17.2/types.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