haskell-tdlib-2.0.58.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. If the bot is restricted for the current user, then show an error instead of calling the method

  • url :: Maybe Text

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

  • parameters :: Maybe WebAppOpenParameters

    Parameters to use to open the Web App