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.

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 :

request::getMe(token: String | null, forgot: Boolean | null, answer: Boolean | null);
request::getMe(['token' => String | null, 'forgot' => Boolean | null, 'answer' => Boolean | null]);
request::getMe();