GetWebAppLinkUrl constructor
const
GetWebAppLinkUrl({})
GetWebAppLinkUrl (getWebAppLinkUrl) - TDLib function
Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.
- chatId: Identifier of the chat in which the link was clicked; pass 0 if none.
- botUserId: Identifier of the target bot.
- webAppShortName: Short name of the Web App.
- startParameter: Start parameter from internalLinkTypeWebApp.
- theme: Preferred Web App theme; pass null to use the default theme (optional).
- applicationName: Short name of the current application; 0-64 English letters, digits, and underscores.
- allowWriteAccess: Pass true if the current user allowed the bot to send them messages.
HttpUrl is returned on completion.
Implementation
const GetWebAppLinkUrl({
required this.chatId,
required this.botUserId,
required this.webAppShortName,
required this.startParameter,
this.theme,
required this.applicationName,
required this.allowWriteAccess,
});