Module

x/grammy/platform.deno.ts

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