Skip to content

get_my_name

Use this method to get the current bot name for the given user language.

Parameters

  • language_code (str) (optional): Optional. A two-letter ISO 639-1 language code or an empty string

Returns

BotName

Examples

  • All Parameters
await bot.get_my_name(
    language_code=your_language_code_here
)