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>bots_setBotInfo_

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

Set localized name, about text and description of a bot (or of the current account, if called by a bot).

Constructors

new
bots_setBotInfo_(params: { bot?: enums.InputUser; lang_code: string; name?: string; about?: string; description?: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
about: string

New about text

optional
bot: enums.InputUser

If called by a user, must contain the peer of a bot we own.

optional
description: string

New description

lang_code: string

Language code, if left empty update the fallback about text and description

optional
name: string

New bot name

Static Properties

__F: (params: { bot?: enums.InputUser; lang_code: string; name?: string; about?: string; description?: string; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc