Chat
interfaceThis object represents a chat.
Declaration
interface Chat Properties
id: number;Unique identifier for this chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
is_direct_messages?: boolean;Optional. True, if the chat is the direct messages chat of a channel
is_forum?: boolean;Optional. True, if the supergroup chat is a forum (has topics enabled)
type: string;Type of the chat, can be either "private", "group", "supergroup" or "channel"