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

x/grammy_types/markup.ts>InlineKeyboardButton.UrlButton

Type declarations of the Telegram Bot API.
Latest
interface InlineKeyboardButton.UrlButton
implements AbstractInlineKeyboardButton
import { type InlineKeyboardButton } from "https://deno.land/x/grammy_types@v3.15.0/markup.ts";
const { UrlButton } = InlineKeyboardButton;

Properties

url: string

HTTP or tg:// URL to be opened when the button is pressed. Links tg://user?id=<user_id> can be used to mention a user by their identifier without using a username, if this is allowed by their privacy settings.