Skip to content

Chat ​

id ​

Type: number

Unique identifier for this chat.

photoUrl ​

Type: string, optional

URL of the chat’s photo. The photo can be in .jpeg or .svg formats. Only returned for Mini Apps launched from the attachment menu.

type ​

Type: 'group' | 'supergroup' | 'channel' | string

Type of chat.

title ​

Type: string

Title of the chat.

username ​

Type: string, optional

Username of the chat.

Released under the MIT License.