Discore
Show / Hide Table of Contents

Class ActivityOptions

Inheritance
object
ActivityOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX