OpenWebApp constructor
const
OpenWebApp({
- required int chatId,
- required int botUserId,
- required String url,
- ThemeParameters? theme,
- required String applicationName,
- required int messageThreadId,
- MessageReplyTo? replyTo,
Informs TDLib that a Web App is being opened from attachment menu, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an inlineKeyboardButtonTypeWebApp button.. For each bot, a confirmation alert about data sent to the bot must be shown once
Implementation
const OpenWebApp({
required this.chatId,
required this.botUserId,
required this.url,
this.theme,
required this.applicationName,
required this.messageThreadId,
this.replyTo,
});