Replies: 5 comments
|
Hey @alexjordi 👋 |
0 replies
|
Hi David
It supports only sending carousel templates, not on the fly carousel
messages. The messages are more flexible than the templates.
…On Fri, 29 May 2026, 10:51 Yehuda lev, ***@***.***> wrote:
Hey @alexjordi <https://github.com/alexjordi> 👋
Pywa already support this feature
You can see the docs here
<https://pywa.readthedocs.io/en/latest/content/templates/types.html#pywa.types.templates.Carousel>
and the example here
<https://pywa.readthedocs.io/en/latest/content/examples/template.html#example-of-a-carousel-template>
—
Reply to this email directly, view it on GitHub
<#197?email_source=notifications&email_token=A6YP3R2GWUAQYRBNQWEWT7D45FFSFA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZRGAZDONBWUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-17102746>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6YP3R5CAJKE3NOZAB7Y35L45FFSFAVCNFSM6AAAAACZSDWLWCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTOMJQGI3TINQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
0 replies
|
Ah, I see now. This is new. |
0 replies
|
Thanks! Great library, enjoying it a lot
…On Fri, 29 May 2026, 11:01 Yehuda lev, ***@***.***> wrote:
Ah, I see now. This is new.
We'll see if we can add support for this.
Thanks for your attention.
—
Reply to this email directly, view it on GitHub
<#197?email_source=notifications&email_token=A6YP3RZGNF3LM23HLGZEAJL45FGVNA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZRGAZDQNJXUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-17102857>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6YP3RZG7JIDXIQZ2S6WXJ345FGVNAVCNFSM6AAAAACZSDWLWCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTOMJQGI4DKNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
0 replies
|
Added in 39a2296 Here is usage examples: wa.send_carousel(
to="123456789",
body="Of course! Here are three of our latest arrivals, each under $25:",
cards=[
types.ImageCarouselCard(
body="*Blue Echeveria*\n\nA rosette-shaped succulent with powdery blue leaves, perfect for brightening up any space.",
image="https://www.luckyshrub.com/assets/blue-echeveria.jpeg",
buttons=types.URLButton(
title="Buy now", url="https://shop.luckyshrub.com/latest/blue-echeveria"
),
),
types.ImageCarouselCard(
body="*Zebra Haworthia*\n\nStriking white stripes on deep green leaves give this compact succulent a bold, modern look.",
image="https://www.luckyshrub.com/assets/zebra-haworthia.jpeg",
buttons=types.URLButton(
title="Buy now",
url="https://shop.luckyshrub.com/latest/zebra-haworthia",
),
),
],
)
wa.send_carousel(
to="123456789",
body="Of course! Here are three of our latest arrivals, each under $25:",
cards=[
types.ImageCarouselCard(
body="*Blue Echeveria*\n\nA rosette-shaped succulent with powdery blue leaves, perfect for brightening up any space.",
image="https://www.luckyshrub.com/assets/blue-echeveria.jpeg",
buttons=[
types.Button(
title="Learn more",
callback_data="learn-blue-echeveria",
),
types.Button(
title="Add to favorites",
callback_data="fav-blue-echeveria",
),
],
),
types.ImageCarouselCard(
body="*Zebra Haworthia*\n\nStriking white stripes on deep green leaves give this compact succulent a bold, modern look.",
image="https://www.luckyshrub.com/assets/zebra-haworthia.jpeg",
buttons=[
types.Button(
title="Learn more",
callback_data="learn-zebra-haworthia",
),
types.Button(
title="Add to favorites",
callback_data="fav-zebra-haworthia",
),
],
),
],
) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/interactive-media-carousel-messages
Could you add support for this feature?
All reactions