Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>InlineBotSwitchPM_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class InlineBotSwitchPM_
import { InlineBotSwitchPM_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

The bot requested the user to message them in private

Constructors

new
InlineBotSwitchPM_(params: { text: string; start_param: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
start_param: string

The parameter for the /start parameter

text: string

Text for the button that switches the user to a private chat with the bot and sends the bot a start message with the parameter start_parameter (can be empty)

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc