Class ForumGuildThreadProperties
public class ForumGuildThreadProperties : GuildThreadFromMessageProperties, IHttpSerializable
- Inheritance
-
ForumGuildThreadProperties
- Implements
- Inherited Members
Constructors
ForumGuildThreadProperties(string, ForumGuildThreadMessageProperties)
public ForumGuildThreadProperties(string name, ForumGuildThreadMessageProperties message)
Parameters
namestringmessageForumGuildThreadMessageProperties
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
appliedTagsIEnumerable<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
appliedTagsIEnumerable<ulong>
Returns
WithAutoArchiveDuration(ThreadArchiveDuration?)
public ForumGuildThreadProperties WithAutoArchiveDuration(ThreadArchiveDuration? autoArchiveDuration)
Parameters
autoArchiveDurationThreadArchiveDuration?
Returns
WithMessage(ForumGuildThreadMessageProperties)
public ForumGuildThreadProperties WithMessage(ForumGuildThreadMessageProperties message)
Parameters
Returns
WithName(string)
public ForumGuildThreadProperties WithName(string name)
Parameters
namestring
Returns
WithSlowmode(int?)
public ForumGuildThreadProperties WithSlowmode(int? slowmode)
Parameters
slowmodeint?