@adatechnology/meta-whatsapp-module 0.2.0-rc.20 → 0.2.0-rc.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1969,6 +1969,16 @@ var WhatsAppChannelAdapter = class {
1969
1969
  externalMessageId: result.waMessageId
1970
1970
  };
1971
1971
  }
1972
+ async sendInteractiveButtons(params) {
1973
+ const result = await this.translateErrors(() => this.messages.sendInteractiveButtons({
1974
+ to: params.to,
1975
+ bodyText: params.body,
1976
+ buttons: params.buttons
1977
+ }));
1978
+ return {
1979
+ externalMessageId: result.waMessageId
1980
+ };
1981
+ }
1972
1982
  /**
1973
1983
  * Busca o binário da mídia — da Meta, ou do storage quando o id é do simulador.
1974
1984
  *