Class ForumGuildThreadProperties
public class ForumGuildThreadProperties : GuildThreadFromMessageProperties, IHttpSerializable
- Inheritance
-
ForumGuildThreadProperties
- Implements
- Inherited Members
Constructors
ForumGuildThreadProperties(string, ForumGuildThreadMessageProperties)
public ForumGuildThreadProperties(string name, ForumGuildThreadMessageProperties message)
Parameters
name
stringmessage
ForumGuildThreadMessageProperties
Properties
AppliedTags
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("applied_tags")]
public IEnumerable<ulong>? AppliedTags { get; set; }
Property Value
Message
[JsonPropertyName("message")]
public ForumGuildThreadMessageProperties Message { get; set; }
Property Value
Methods
AddAppliedTags(params IEnumerable<ulong>)
public ForumGuildThreadProperties AddAppliedTags(params IEnumerable<ulong> appliedTags)
Parameters
appliedTags
IEnumerable<ulong>
Returns
Serialize()
Serializes the object or its part into HttpContent.
public HttpContent Serialize()
Returns
WithAppliedTags(IEnumerable<ulong>?)
public ForumGuildThreadProperties WithAppliedTags(IEnumerable<ulong>? appliedTags)
Parameters
appliedTags
IEnumerable<ulong>
Returns
WithAutoArchiveDuration(ThreadArchiveDuration?)
public ForumGuildThreadProperties WithAutoArchiveDuration(ThreadArchiveDuration? autoArchiveDuration)
Parameters
autoArchiveDuration
ThreadArchiveDuration?
Returns
WithMessage(ForumGuildThreadMessageProperties)
public ForumGuildThreadProperties WithMessage(ForumGuildThreadMessageProperties message)
Parameters
Returns
WithName(string)
public ForumGuildThreadProperties WithName(string name)
Parameters
name
string
Returns
WithSlowmode(int?)
public ForumGuildThreadProperties WithSlowmode(int? slowmode)
Parameters
slowmode
int?