Function get_bot_info_description

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

Returns the text shown in the chat with a bot if the chat is empty in the given language. 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 or an empty string
  • client_id - The client id to send the request to