Constructor: botApp
Contains information about a direct link Mini App.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | long | Yes | bot mini app ID |
access_hash | long | Yes | bot mini app access hash |
short_name | string | Yes | bot mini app short name, used to generate Direct Mini App deep links. |
title | string | Yes | bot mini app title. |
description | string | Yes | bot mini app description. |
photo | Photo | Optional | bot mini app photo. |
document | Document | Optional | bot mini app animation. |
hash | long | Yes | Hash to pass to messages.getBotApp, to avoid refetching bot app info if it hasn’t changed. |
Type: BotApp
Example:
$botApp = ['_' => 'botApp', 'id' => long, 'access_hash' => long, 'short_name' => 'string', 'title' => 'string', 'description' => 'string', 'photo' => Photo, 'document' => Document, 'hash' => long];