Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_conversations/deps.deno.ts>Keyboard.webApp

Conversational interfaces for grammY.
Latest
method Keyboard.webApp
import { Keyboard } from "https://deno.land/x/grammy_conversations@v1.2.0/deps.deno.ts";

Creates a new web app button. The Web App that will be launched when the user presses the button. The Web App will be able to send a “web_app_data” service message. Available in private chats only.

Parameters

text: string

The text to display

url: string

An HTTPS URL of a Web App to be opened with additional data