ButtonBuilder constructor
ButtonBuilder(})
Creates instance of ButtonBuilder
Implementation
ButtonBuilder(String label, this.customId, ButtonStyle style, {bool disabled = false, IEmoji? emoji})
: super(label, style, disabled: disabled, emoji: emoji) {
if (customId.length > 100) {
throw ArgumentError("customId for button cannot have more than 100 characters");
}
}