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

x/mtkruto/tl/3_functions.ts>messages_startBot_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_startBot_
extends Function_<enums.Updates>
import { messages_startBot_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Start a conversation with a bot using a deep linking parameter

Constructors

new
messages_startBot_(params: { bot: enums.InputUser; peer: enums.InputPeer; random_id: bigint; start_param: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
bot: enums.InputUser

The bot

peer: enums.InputPeer

The chat where to start the bot, can be the bot's private chat or a group

random_id: bigint

Random ID to avoid resending the same message

start_param: string

Static Properties

__F: (params: { bot: enums.InputUser; peer: enums.InputPeer; random_id: bigint; start_param: string; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc