public async Task <IMessageChannel> SelectTextChannelAsync(ulong channelId, RequestOptions options = null) { var model = await ApiClient.SendSelectTextChannelAsync(channelId, options).ConfigureAwait(false); return(RpcChannel.Create(this, model) as IMessageChannel); }
public async Task <IRpcAudioChannel> SelectVoiceChannelAsync(ulong channelId, bool force = false, RequestOptions options = null) { var model = await ApiClient.SendSelectVoiceChannelAsync(channelId, force, options).ConfigureAwait(false); return(RpcChannel.Create(this, model) as IRpcAudioChannel); }
public async Task <RpcChannel> GetRpcChannelAsync(ulong id, RequestOptions options = null) { var model = await ApiClient.SendGetChannelAsync(id, options).ConfigureAwait(false); return(RpcChannel.Create(this, model)); }