sendFollowup method

Future<Message> sendFollowup(
  1. MessageBuilder builder
)

Create a followup message for an Interaction

Implementation

Future<Message> sendFollowup(MessageBuilder builder) async {
  if (!_hasAcked) {
    return Future.error(ResponseRequiredError());
  }
  this._logger.fine("Sending followup for for interaction: ${this.interaction.id}");

  return this.interactions.interactionsEndpoints.sendFollowup(
      this.interaction.token,
      this.client.app.id,
      builder
  );
}