Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>Chat.PrivateChat

Hydration plugin for API calls and context objects.
Latest
interface Chat.PrivateChat
implements AbstractChat, UserNameChat
import { type Chat } from "https://deno.land/x/grammy_hydrate@v1.4.1/deps.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