Skip to main content
Module

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

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