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

x/grm/mod.ts>tl.MessageButton

MTProto API Client for Deno 🦕
Go to Latest
class tl.MessageButton
Re-export
import { tl } from "https://deno.land/x/grm@0.5.4/mod.ts";
const { MessageButton } = tl;

Constructors

new
MessageButton(
original: Api.TypeButtonLike,
chat: Api.TypeEntityLike,
bot: Api.TypeEntityLike | undefined,
msgId: Api.TypeMessageIDLike,
)

Properties

private
readonly
optional
_bot: Api.TypeEntityLike
private
readonly
_chat: Api.TypeEntityLike
private
readonly
_client: AbstractTelegramClient
private
readonly
_msgId: Api.TypeMessageIDLike
readonly
button: Api.TypeButtonLike
readonly
client
readonly
data
readonly
inlineQuery
readonly
text
readonly
url

Methods

click(unnamed 0: { sharePhone?: boolean | string | Api.InputMediaContact; shareGeo?: [number, number] | Api.InputMediaGeoPoint; password?: string; })