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_getBotInfo_

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

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

Constructors

new
bots_getBotInfo_(params: { bot?: enums.InputUser; lang_code: string; })

Properties

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

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

lang_code: string

Language code, if left empty this method will return the fallback about text and description.

Static Properties

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