Skip to content

setBotInfoDescription

Function · TDLib 1.8.67 · d1085f9c

Sets the text shown in the chat with a bot if the chat is empty. Can be called only if userTypeBot.can_be_edited == true

setBotInfoDescription(
  bot_user_id: int53,
  language_code: string,
  description: string
) → Ok

bot_user_id

int53

Identifier of the target bot

language_code

string

A two-letter ISO 639-1 language code. If empty, the description will be shown to all users for whose languages there is no dedicated description

description

string

New bot's description on the specified language