PrivateChat
Internal type for private chats
Properties
id
ts
id: number;Unique identifier for this chat.
type
ts
type: "private";Type of the chat, can be either “private”, “group”, “supergroup” or “channel”
title
ts
title?: undefined;Title, for supergroups, channels and group chats
username
ts
username?: string;Username, for private chats, supergroups and channels if available
first_name
ts
first_name: string;First name of the other party in a private chat
last_name
ts
last_name?: string;Last name of the other party in a private chat
is_forum
ts
is_forum?: undefined;True, if the supergroup chat is a forum (has topics enabled)
is_direct_messages
ts
is_direct_messages?: undefined;True, if the chat is the direct messages chat of a channel