Skip to content

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

Class: SentWebAppMessage ​

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

Contains information about an inline message sent by a Web App on behalf of a user.

Constructors ​

Constructor ​

new SentWebAppMessage(payload): SentWebAppMessage

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

Parameters ​

ParameterType
payloadTelegramSentWebAppMessage

Returns ​

SentWebAppMessage

Properties ​

PropertyTypeDefined in
payloadTelegramSentWebAppMessagecontexts/index.d.ts:4969

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


inlineMessageId ​

Get Signature ​

get inlineMessageId(): string

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

Identifier of the sent inline message.

Available only if there is an inline keyboard attached to the message.

Returns ​

string