Table of Contents

Constructor DiscordActivity

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DiscordActivity()

Creates a new, empty instance of a DiscordActivity.

public DiscordActivity()

DiscordActivity(string)

Creates a new instance of a DiscordActivity with specified name.

public DiscordActivity(string name)

Parameters

name string

Name of the activity.

DiscordActivity(string, ActivityType)

Creates a new instance of a DiscordActivity with specified name.

public DiscordActivity(string name, ActivityType type)

Parameters

name string

Name of the activity.

type ActivityType

Type of the activity.