Module

x/grammy/types.deno.ts>Chat.PrivateChat

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