getMyName

Get the bot’s name in the given language. BOT-ONLY

Parameters

languageCode?: string

Result

string

The current bot’s name in the specified language.

Syntax

// Optional parameters.
// Any of the optional parameters can be omitted.
await client.getMyName( { languageCode });