Skip to content

setBotInfoShortDescription

Function · TDLib 1.8.67 · d1085f9c

Sets the text shown on a bot's profile page and sent together with the link when users share the bot. Can be called only if userTypeBot.can_be_edited == true

setBotInfoShortDescription(
  bot_user_id: int53,
  language_code: string,
  short_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 short description will be shown to all users for whose languages there is no dedicated description

short_description

string

New bot's short description on the specified language