getMe

A simple method for testing your bot's authentication token. Requires no parameters. Returns basic information about the bot in form of a User object. This method support both normal and static use

Arguments
Name Type Description Required
token string | null | array 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\user | BPT\types\responseError | bool

Static or normal : Static

Examples :

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