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://dotland.deno.dev/x/grammy@v1.10.1/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