OpenWebApp class

Informs TDLib that a Web App is being opened from the attachment menu, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an inlineKeyboardButtonTypeWebApp button..

Returns WebAppInfo.

Inheritance
Available Extensions

Constructors

OpenWebApp({required int chat_id, required int bot_user_id, required String url, ThemeParameters? theme, required String application_name, required int message_thread_id, MessageReplyTo? reply_to, int? extra, int? clientId})
Informs TDLib that a Web App is being opened from the attachment menu, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an inlineKeyboardButtonTypeWebApp button.

Properties

application_name String
Short name of the application; 0-64 English letters, digits, and underscores.
read / write
bot_user_id int
Identifier of the bot, providing the Web App.
read / write
chat_id int
Identifier of the chat in which the Web App is opened. The Web App can't be opened in secret chats.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
message_thread_id int
If not 0, a message thread identifier in which the message will be sent.
read / write
reply_to MessageReplyTo?
Identifier of the replied message or story for the message sent by the Web App; pass null if none.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
theme ThemeParameters?
Preferred Web App theme; pass null to use the default theme.
read / write
url String
The URL from an inlineKeyboardButtonTypeWebApp button, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an empty string otherwise.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) OpenWebApp?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"openWebApp"