Skip to main content
Module

x/grm/mod.ts>MessageButton

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

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; })