Table of Contents

Class StreamingGame

Namespace
Discord
Assembly
Discord.Net.Core.dll

A user's activity for streaming on services such as Twitch.

public class StreamingGame : Game, IActivity
Inheritance
StreamingGame
Implements
Inherited Members

Constructors

StreamingGame(string, string)

Creates a new StreamingGame based on the name on the stream URL.

public StreamingGame(string name, string url)

Parameters

name string

The name of the stream.

url string

The URL of the stream.

Properties

Url

Gets the URL of the stream.

public string Url { get; }

Property Value

string

Methods

ToString()

Gets the name of the stream.

public override string ToString()

Returns

string