/// <summary> /// Gets a collection of users that are able to view the channel. /// </summary> /// <param name="options">The options to be used when sending the request.</param> /// <exception cref="InvalidOperationException"> /// Resolving permissions requires the parent guild to be downloaded. /// </exception> /// <returns> /// A paged collection containing a collection of guild users that can access this channel. Flattening the /// paginated response into a collection of users with /// <see cref="AsyncEnumerableExtensions.FlattenAsync{T}"/> is required if you wish to access the users. /// </returns> public IAsyncEnumerable <IReadOnlyCollection <RestGuildUser> > GetUsersAsync(RequestOptions options = null) => ChannelHelper.GetUsersAsync(this, Guild, Discord, null, null, options);