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(IEnumerable<ulong>)
public ForumGuildThreadProperties AddAppliedTags(IEnumerable<ulong> appliedTags)
Parameters
appliedTags
IEnumerable<ulong>
Returns
AddAppliedTags(params ulong[])
public ForumGuildThreadProperties AddAppliedTags(params ulong[] appliedTags)
Parameters
appliedTags
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(int?)
public ForumGuildThreadProperties WithAutoArchiveDuration(int? autoArchiveDuration)
Parameters
autoArchiveDuration
int?
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?