Skip to content

GramIO API Reference / @gramio/contexts/dist / WebAppInfo

Class: WebAppInfo ​

Defined in: contexts/index.d.ts:4697

Contains information about a Web App.

Constructors ​

Constructor ​

new WebAppInfo(payload): WebAppInfo

Defined in: contexts/index.d.ts:4699

Parameters ​

ParameterType
payloadTelegramWebAppInfo

Returns ​

WebAppInfo

Properties ​

PropertyTypeDefined in
payloadTelegramWebAppInfocontexts/index.d.ts:4698

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

Defined in: contexts/index.d.ts:4701

MDN

Returns ​

string


url ​

Get Signature ​

get url(): string

Defined in: contexts/index.d.ts:4703

An HTTPS URL of a Web App to be opened with additional data as specified in Initializing Web Apps

Returns ​

string