getMe method

Future<User> getMe()

A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a User object.

https://core.telegram.org/bots/api#getme

Implementation

Future<User> getMe() async =>
    User.fromJson(await HttpClient.httpGet(_apiUri('getMe')));