I have 2 templates:
const body1 = { name: "hello_world", language: { code: "en_US" } }
and
const body2 = { name: "test2", language: { code: "en_US" }, components: [ { type: "header", parameters: [ { type: "document", document: { filename: "bill.pdf", link: link } } ] }, { "type": "body", "parameters": [ { "type": "text", "text": "12.04$" }, { "type": "text", "text": "IMA Health" }, { "type": "text", "text": "receipt" } ] } ] }
when i call sdk method
await wa.messages.template(body1, number);
all works fine (Iphone and Andoid received this message), but if i call this method with body2
await wa.messages.template(body2, number);
only Android received it