Class UserActivityButtonProperties
- Namespace
- NetCord.Gateway
- Assembly
- NetCord.dll
public class UserActivityButtonProperties
- Inheritance
-
UserActivityButtonProperties
- Inherited Members
-
Constructors
public UserActivityButtonProperties(string label, string url)
Parameters
label
string
url
string
Properties
[JsonPropertyName("label")]
public string Label { get; set; }
Property Value
- string
[JsonPropertyName("url")]
public string Url { get; set; }
Property Value
- string
Methods
public UserActivityButtonProperties WithLabel(string label)
Parameters
label
string
Returns
- UserActivityButtonProperties
public UserActivityButtonProperties WithUrl(string url)
Parameters
url
string
Returns
- UserActivityButtonProperties