Skip to content

GramIO API Reference / @gramio/init-data/dist / WebAppChat

Interface: WebAppChat

Defined in: init-data/index.d.ts:59

This object represents a chat.

Properties

PropertyTypeDescriptionDefined in
idnumberUnique 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.init-data/index.d.ts:63
photo_url?stringURL of the chat’s photo. The photo can be in .jpeg or .svg formats. Only returned for Mini Apps launched from the attachment menu.init-data/index.d.ts:80
titlestringTitle of the chat.init-data/index.d.ts:71
type"group" | "supergroup" | "channel"Type of the chat.init-data/index.d.ts:67
username?stringUsername of the chat.init-data/index.d.ts:75