import { tl } from "https://deno.land/x/grm@v0.3.1/mod.ts";
const { MessageButton } = tl;
Constructors
new
MessageButton(client: AbstractTelegramClient,
original: ButtonLike,
chat: Api.TypeEntityLike,
bot: Api.TypeEntityLike | undefined,
msgId: Api.TypeMessageIDLike,
Properties
private
readonly
optional
_bot: Api.TypeEntityLikeprivate
readonly
_chat: Api.TypeEntityLikeprivate
readonly
_client: AbstractTelegramClientreadonly
button: ButtonLikeMethods
click(unnamed 0: { sharePhone?: boolean | string | Api.InputMediaContact; shareGeo?: [number, number] | Api.InputMediaGeoPoint; password?: string; })