Class ActivityOptions
Inherited Members
Namespace: Discore.WebSocket
Assembly: Discore.dll
Syntax
public class ActivityOptions
Constructors
| Name | Description |
|---|---|
| ActivityOptions() | |
| ActivityOptions(string) |
Properties
| Name | Description |
|---|---|
| Name | The name of the activity. |
| Type | The type of activity. Defaults to Game. |
| Url | The URL of the stream. Type must be Streaming for this to take effect. Defaults to null. |
Methods
| Name | Description |
|---|---|
| SetName(string) | Sets the name of the activity. |
| SetType(DiscordActivityType) | Sets the type of activity. |
| SetUrl(string) | Sets the URL of the stream. Type must be Streaming for this to take effect. |