getMyName

Use this method to get the current bot name for the given user language. Returns BotName on success. This method support both normal and static use

Arguments
Name Type Description Required
language_code string | null | array A two-letter ISO 639-1 language code or an empty string no
token string | null You can use this method on another bot with specify this parameter no
forgot bool | null You can set to not receive request result, dont set it or pass null for turn it off no
answer bool | null You can set to answer to webhook, dont set it or pass null for turn it off no

Output : BPT\types\botName | BPT\types\responseError | bool

Static or normal : Static

Examples :

BPT::getMyName(language_code: string | null, token: String | null, forgot: Boolean | null, answer: Boolean | null);
BPT::getMyName(['language_code' => string | null, 'token' => String | null, 'forgot' => Boolean | null, 'answer' => Boolean | null]);
BPT::getMyName();
$this->getMyName(language_code: string | null, token: String | null, forgot: Boolean | null, answer: Boolean | null);
$this->getMyName(['language_code' => string | null, 'token' => String | null, 'forgot' => Boolean | null, 'answer' => Boolean | null]);
$this->getMyName();