Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IChat

This object represents a chat.

Hierarchy

Index

Properties

first_name?: string

Optional. First name of the other party in a private chat

id: number

Unique identifier for this chat.

is_forum?: boolean

Optional. True, if the supergroup chat is a forum (has topics enabled)

last_name?: string

Optional. Last name of the other party in a private chat

title?: string

Optional. Title, for supergroups, channels and group chats

type: string

Type of chat, can be either “private”, “group”, “supergroup” or “channel”

username?: string

Optional. Username, for private chats, supergroups and channels if available

Generated using TypeDoc