Get Me
Get your bot's user information
Response<MyBot> response = await bot.HandleAsync(new GetMe());
if (response.Ok)
{
MyBot myBot = response.Result;
// ...
}
else
{
Failure failure = response.Failure;
// Basically you did not setup the bot token correctly
}
Last updated
Was this helpful?