Beispiel #1
0
 /// <inheritdoc cref="BotsClient.InfoAsync(BotInfoRequest)"/>
 public Task <BotInfoResponse> GetBotInfoAsync(BotInfoRequest botInfoRequest)
 => Bots.InfoAsync(botInfoRequest);
Beispiel #2
0
 /// <summary>
 /// Gets information about a bot user.
 /// </summary>
 public Task <BotInfoResponse> InfoAsync(BotInfoRequest botInfoRequest)
 => SendGetAsync <BotInfoRequest, BotInfoResponse>("info", botInfoRequest);