Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

/send/carousel splits message into two bubbles (Text + Cards) instead of sending one unified message

未关闭
#69 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
go
领域
api, backend

调研方向

从 Go /send/carousel handler 开始,跟踪它当前如何调用 sendTextMessage 和 sendCarousel。检查 interactive message payload 中顶层 body 和 footer 的构造方式。完成的标准是 endpoint 生成一个包含 body、footer 和 cards 的 WhatsApp interactive carousel bubble,而不是两条独立的消息。

由索引模型根据 Issue 内容生成。

描述

bug
Welcome!
  • Yes, I have searched for similar issues on GitHub and found none.
What did you do?

Currently, when sending a carousel message using the /send/carousel endpoint with a top-level "body" and "footer", the Evolution Go server splits the payload and sends it as two separate messages on WhatsApp:

First bubble: A standard text message containing main text and footer.
Second bubble: The actual interactive cards carousel.
This creates a disconnected user experience. WhatsApp’s native interactive protocol supports binding the main body text, footer, and the sliding carousel cards together inside one single interactive message bubble.

What did you expect?

The recipient should receive only one single interactive message bubble where the body text ("Special offers from Royalty Tours 🌸") and footer text ("Click below to see details") reside directly above the sliding cards within the same bubble.

What did you observe instead of what you expected?

Instead of splitting the payload into a separate sendTextMessage call and a sendCarousel call, the Go handler should compile the top-level body and footer directly into the interactive message payload as the main interactive text header/body, so that the WhatsApp client renders everything together in one single bubble.

Screenshots/Videos

No response

Which version are you using?

0.7.1

What is your environment?

Docker

If applicable, paste the log output

No response

Additional Notes

No response

主要语言
Go
星标
958
派生
513
平均合并
5 分钟
30 天内合并 PR
1

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

evolution-foundation/evolution-go 的其他 Issue

查看 evolution-foundation/evolution-go 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。