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