mirror of
https://onedev.fprog.nl/DiscordClient
synced 2026-03-13 14:14:08 +01:00
Added some XML doc comments.
This commit is contained in:
parent
cdba31dd75
commit
906df00e59
|
|
@ -54,6 +54,15 @@ public class DiscordUserClient
|
||||||
return await _httpClient.DeleteAsync(url);
|
return await _httpClient.DeleteAsync(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// This method returns some of most recent messages, sent to a guild.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="guildId">Guild ID from which we're gathering messages.</param>
|
||||||
|
/// <param name="authorId">
|
||||||
|
/// Optional author ID. If specified, gather only
|
||||||
|
/// recent messages from this particular author.
|
||||||
|
/// </param>
|
||||||
|
/// <returns></returns>
|
||||||
public async Task<GuildMessageSearchResponse?> SearchGuildMessages(
|
public async Task<GuildMessageSearchResponse?> SearchGuildMessages(
|
||||||
string guildId,
|
string guildId,
|
||||||
string? authorId = null
|
string? authorId = null
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue