set_bot_info_description

Function set_bot_info_description 

Source
pub async fn set_bot_info_description(
    bot_user_id: i64,
    language_code: String,
    description: String,
    client_id: i32,
) -> Result<(), Error>
Expand description

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

§Arguments

  • bot_user_id - Identifier of the target bot
  • language_code - 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 - New bot’s description on the specified language
  • client_id - The client id to send the request to