Table of Contents

Property CustomId

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

CustomId

The custom Id of this button. This is sent back when a user presses it. Applies to buttons with Primary, Secondary, Success, and Danger styles. Link buttons use URLs and Premium buttons use SKU IDs instead of custom IDs.

[JsonProperty("custom_id", NullValueHandling = NullValueHandling.Ignore)]
public override string? CustomId { get; }

Property Value

string