haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.GetWebAppUrl

Synopsis

Documentation

data GetWebAppUrl Source #

Returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button. Returns HttpUrl

Constructors

GetWebAppUrl 

Fields

  • bot_user_id :: Maybe Int

    Identifier of the target bot

  • url :: Maybe Text

    The URL from a keyboardButtonTypeWebApp button, inlineQueryResultsButtonTypeWebApp button, or an empty string when the bot is opened from the side menu

  • theme :: Maybe ThemeParameters

    Preferred Web App theme; pass null to use the default theme

  • application_name :: Maybe Text

    Short name of the current application; 0-64 English letters, digits, and underscores