Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

[BUG] Template Button Solution

Open laxeder opened this issue 2 years ago • 10 comments

I found a possible solution for Template Buttons using hydratedTemplate:

template-vs Working perfectly on Android:

template-wa

I had to use relayMessage because sendMessage doesn't handle hydratedTemplate type messages correctly. A viable solution is to better handle the message of type hydratedTemplate in sendMessage or convert templateMessage to hydratedTemplate

laxeder avatar Sep 07 '22 15:09 laxeder

does not work in ios

salykingleb avatar Sep 07 '22 22:09 salykingleb

does not work in ios

Tentou mudar o viewOnceMessage tipo para o tipo mensagens temporárias? Eu mudei aqui, e está funcionando não sei se isso resolverá para dispositivos IOS

undefined-60 avatar Sep 07 '22 23:09 undefined-60

does not work in ios

Hm... Did you find any solution for IOS? It definitely looks like TemplateButtons is disabled for IOS

laxeder avatar Sep 08 '22 02:09 laxeder

I found a possible solution for Template Buttons using hydratedTemplate:

template-vs Working perfectly on Android:

template-wa

I had to use relayMessage because sendMessage doesn't handle hydratedTemplate type messages correctly. A viable solution is to better handle the message of type hydratedTemplate in sendMessage or convert templateMessage to hydratedTemplate

Perfect!!..Thanks

jeans0cotton avatar Sep 08 '22 06:09 jeans0cotton

does not work in ios

Hm... Did you find any solution for IOS? It definitely looks like TemplateButtons is disabled for IOS

All right

salykingleb avatar Sep 08 '22 08:09 salykingleb

does not work in ios

Tentou mudar o viewOnceMessage tipo para o tipo mensagens temporárias? Eu mudei aqui, e está funcionando não sei se isso resolverá para dispositivos IOS

No mister

salykingleb avatar Sep 08 '22 08:09 salykingleb

does not work in ios

Tentou mudar o viewOnceMessage tipo para o tipo mensagens temporárias? Eu mudei aqui, e está funcionando não sei se isso resolverá para dispositivos IOS

No mister

Mais fato é que pelo menos em Android funciona

undefined-60 avatar Sep 08 '22 22:09 undefined-60

Button doesn't appear on IOS

makanSukros avatar Sep 10 '22 06:09 makanSukros

I found a possible solution for Template Buttons using hydratedTemplate:

template-vs Working perfectly on Android:

template-wa

I had to use relayMessage because sendMessage doesn't handle hydratedTemplate type messages correctly. A viable solution is to better handle the message of type hydratedTemplate in sendMessage or convert templateMessage to hydratedTemplate

hello, how about list message?

salsawij avatar Sep 12 '22 13:09 salsawij

This issue is stale because it has been open 6 days with no activity. Remove the stale label or comment or this will be closed in 2 days

github-actions[bot] avatar Sep 19 '22 04:09 github-actions[bot]