Class GuildThreadFromMessageProperties
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public class GuildThreadFromMessageProperties
- Inheritance
-
GuildThreadFromMessageProperties
- Derived
-
- Inherited Members
-
Constructors
GuildThreadFromMessageProperties(string)
public GuildThreadFromMessageProperties(string name)
Parameters
name
string
Properties
AutoArchiveDuration
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("auto_archive_duration")]
public int? AutoArchiveDuration { get; set; }
Property Value
- int?
Name
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
- string
Slowmode
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("rate_limit_per_user")]
public int? Slowmode { get; set; }
Property Value
- int?
Methods
WithAutoArchiveDuration(int?)
public GuildThreadFromMessageProperties WithAutoArchiveDuration(int? autoArchiveDuration)
Parameters
autoArchiveDuration
int?
Returns
- GuildThreadFromMessageProperties
WithName(string)
public GuildThreadFromMessageProperties WithName(string name)
Parameters
name
string
Returns
- GuildThreadFromMessageProperties
WithSlowmode(int?)
public GuildThreadFromMessageProperties WithSlowmode(int? slowmode)
Parameters
slowmode
int?
Returns
- GuildThreadFromMessageProperties