chat property

WebAppChat? get chat

Optional. An object containing data about the chat where the bot was launched via the attachment menu. Returned for supergroups, channels and group chats – only for Mini Apps launched via the attachment menu.

Implementation

WebAppChat? get chat => _jsInitData.chat != null ? WebAppChat(_jsInitData.chat!) : null;