OpenWebApp constructor
const
OpenWebApp({
- required int chatId,
- required int botUserId,
- required String url,
- MessageTopic? topicId,
- InputMessageReplyTo? replyTo,
- required WebAppOpenParameters parameters,
Informs TDLib that a Web App is being opened from the 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.topicId,
this.replyTo,
required this.parameters,
});