Table of Contents

Class UserActivityButtonProperties

Namespace
NetCord.Gateway
Assembly
NetCord.dll
public class UserActivityButtonProperties
Inheritance
UserActivityButtonProperties
Inherited Members

Constructors

UserActivityButtonProperties(string, string)

public UserActivityButtonProperties(string label, string url)

Parameters

label string
url string

Properties

Label

[JsonPropertyName("label")]
public string Label { get; set; }

Property Value

string

Url

[JsonPropertyName("url")]
public string Url { get; set; }

Property Value

string

Methods

WithLabel(string)

public UserActivityButtonProperties WithLabel(string label)

Parameters

label string

Returns

UserActivityButtonProperties

WithUrl(string)

public UserActivityButtonProperties WithUrl(string url)

Parameters

url string

Returns

UserActivityButtonProperties