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.
parameters
this method takes no parameters.
returns
usage in yaebal
getMe is directly typed on Api — call it straight off bot.api.
await bot.api.getMe();official Bot API docs: https://core.telegram.org/bots/api/#getme