ButtonBuilder.secondary constructor

ButtonBuilder.secondary({
  1. String? label,
  2. Emoji? emoji,
  3. required String customId,
  4. bool? isDisabled,
})

Implementation

ButtonBuilder.secondary({
  this.label,
  this.emoji,
  required String this.customId,
  this.isDisabled,
})  : style = ButtonStyle.secondary,
      super(type: MessageComponentType.button);