OpenWebApp constructor

const OpenWebApp({
  1. required int chatId,
  2. required int botUserId,
  3. required String url,
  4. ThemeParameters? theme,
  5. required String applicationName,
  6. required int messageThreadId,
  7. 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,
});