The WhatsApp Cloud API for sending authentication messages has changed and I think authentication messages are not supported with current version anymore. Here is the link to the docs how a authentication message looks like now:
The TextMessageComponent currently only takes TextMessageParameters, but to send a one-time password other options should be addable to the List of TextMessageComponents
The WhatsApp Cloud API for sending authentication messages has changed and I think authentication messages are not supported with current version anymore. Here is the link to the docs how a authentication message looks like now:
WhatsApp Cloud Docu
The TextMessageComponent currently only takes TextMessageParameters, but to send a one-time password other options should be addable to the List of TextMessageComponents