API reference
Property IsSpoiler
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
IsSpoiler
Gets or sets the requested spoiler state when sending or editing an attachment. For received attachments, inspect Flags for the state reported by Discord.
[JsonProperty("is_spoiler", NullValueHandling = NullValueHandling.Ignore)]
public bool? IsSpoiler { get; set; }
Property Value
- bool?