Browse Source

Added RestVoiceChannel documentation

pull/1161/head
Casino Boyale 7 years ago
parent
commit
c9ef0e26e2
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      src/Discord.Net.Rest/Entities/Channels/RestVoiceChannel.cs

+ 7
- 0
src/Discord.Net.Rest/Entities/Channels/RestVoiceChannel.cs View File

@@ -47,6 +47,13 @@ namespace Discord.Rest
Update(model);
}

/// <summary>
/// Gets the parent category of this channel.
/// </summary>
/// <param name="options">The options to be used when sending the request.</param>
/// <returns>
/// An awaitable <see cref="Task"/> containing an <see cref="ICategoryChannel"/>.
/// </returns>
public Task<ICategoryChannel> GetCategoryAsync(RequestOptions options = null)
=> ChannelHelper.GetCategoryAsync(this, Discord, options);



Loading…
Cancel
Save