get_me¶
-
template<class Agent, class F>
void get_me(Agent &&agent, F &&callback)¶ agent
is any object satisfying agent concept.callback
is any callable object acceptingexpected<user_t>
.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.