get_me

get_me#

template<class Agent>
api_result<user_t, Agent&&> get_me(Agent &&agent, get_me_args_t args)#

agent is any object satisfying agent concept.

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.

struct get_me_args_t#

Arguments that should be passed to get_me().