MenuButtonWebApp

telegramium.bots.MenuButtonWebApp
final case class MenuButtonWebApp(text: String, webApp: WebAppInfo) extends MenuButton

Represents a menu button, which launches a Web App.

Value parameters

text

Text on the button

webApp

Description of the Web App that will be launched when the user presses the button. The Web App will be able to send an arbitrary message on behalf of the user using the method answerWebAppQuery. Alternatively, a t.me link to a Web App of the bot can be specified in the object instead of the Web App's URL, in which case the Web App will be opened as if the user pressed the link.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait MenuButton
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product