Interface IGroupChannel
Represents a generic private group channel.
Inherited Members
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IGroupChannel : IMessageChannel, IPrivateChannel, IAudioChannel, IChannel, ISnowflakeEntity, IEntity<ulong>
Methods
| Improve this Doc View SourceLeaveAsync(RequestOptions)
Leaves this group.
Declaration
Task LeaveAsync(RequestOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| RequestOptions | options | The options to be used when sending the request. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task | A task that represents the asynchronous leave operation. |