Class StageInstanceProperties
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public class StageInstanceProperties
- Inheritance
-
StageInstanceProperties
- Inherited Members
-
Constructors
StageInstanceProperties(ulong, string)
public StageInstanceProperties(ulong channelId, string topic)
Parameters
channelId
ulong
topic
string
Properties
ChannelId
[JsonPropertyName("channel_id")]
public ulong ChannelId { get; set; }
Property Value
- ulong
GuildScheduledEventId
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("guild_scheduled_event_id")]
public ulong? GuildScheduledEventId { get; set; }
Property Value
- ulong?
PrivacyLevel
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("privacy_level")]
public StageInstancePrivacyLevel? PrivacyLevel { get; set; }
Property Value
- StageInstancePrivacyLevel?
SendStartNotification
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("send_start_notification")]
public bool? SendStartNotification { get; set; }
Property Value
- bool?
Topic
[JsonPropertyName("topic")]
public string Topic { get; set; }
Property Value
- string
Methods
WithChannelId(ulong)
public StageInstanceProperties WithChannelId(ulong channelId)
Parameters
channelId
ulong
Returns
- StageInstanceProperties
WithGuildScheduledEventId(ulong?)
public StageInstanceProperties WithGuildScheduledEventId(ulong? guildScheduledEventId)
Parameters
guildScheduledEventId
ulong?
Returns
- StageInstanceProperties
WithPrivacyLevel(StageInstancePrivacyLevel?)
public StageInstanceProperties WithPrivacyLevel(StageInstancePrivacyLevel? privacyLevel)
Parameters
privacyLevel
StageInstancePrivacyLevel?
Returns
- StageInstanceProperties
WithSendStartNotification(bool?)
public StageInstanceProperties WithSendStartNotification(bool? sendStartNotification = true)
Parameters
sendStartNotification
bool?
Returns
- StageInstanceProperties
WithTopic(string)
public StageInstanceProperties WithTopic(string topic)
Parameters
topic
string
Returns
- StageInstanceProperties