Skip to content

feat(qq): qq channel supports directly pushing local multimedia files, such as images and files#1227

Open
zboya wants to merge 3 commits intosipeed:mainfrom
zboya:main
Open

feat(qq): qq channel supports directly pushing local multimedia files, such as images and files#1227
zboya wants to merge 3 commits intosipeed:mainfrom
zboya:main

Conversation

@zboya
Copy link

@zboya zboya commented Mar 8, 2026

📝 Description

Supports directly pushing local multimedia files, such as images and files, to QQ Channels without the need for an external image host.

🗣️ Type of Change

  • [x ] ✨ New feature (non-breaking change which adds functionality)

🤖 AI Code Generation

  • 🛠️ Mostly AI-generated (AI draft, Human verified/modified)

🔗 Related Issue

📚 Technical Context (Skip for Docs)

🧪 Test Environment

  • Hardware: mac pro
  • OS: darwin
  • Model/Provider: glm-5
  • Channels: QQ

📸 Evidence (Optional)

Click to view Logs/Screenshots image

☑️ Checklist

  • [ x] My code/docs follow the style of this project.
  • [ x] I have performed a self-review of my own changes.

… supporting four types of media: image/file/video/audio
@CLAassistant
Copy link

CLAassistant commented Mar 8, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ zboya
❌ boydzheng


boydzheng seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@zboya zboya changed the title feat: Add QQ Bot multimedia message sending and upload functionality,… feat: Supports directly pushing local multimedia files, such as images and files Mar 8, 2026
@zboya zboya changed the title feat: Supports directly pushing local multimedia files, such as images and files feat(qq): qq channel supports directly pushing local multimedia files, such as images and files Mar 8, 2026
@sipeed-bot sipeed-bot bot added type: enhancement New feature or request domain: channel go Pull requests that update go code labels Mar 8, 2026
@yinwm
Copy link
Collaborator

yinwm commented Mar 19, 2026

🔔 PR #1722 has been merged

QQ local file upload support has been implemented in #1722 which was just merged to main.

What's already covered:

  • Local file → base64 upload via /files API
  • max_base64_file_size_mib config option
  • Inbound attachment download and storage
  • Two-step upload flow (upload → send with file_info)
  • Comprehensive test coverage

Potential follow-ups:

If you'd like to contribute additional features, can rebase onto latest main and focus on:

  • File caching (file_info cache to avoid duplicate uploads) - this is in your PR
  • Retry mechanism with exponential backoff
  • File name preservation

Your media.go implementation has some nice ideas (caching, retries). Would you like to close this PR or rebase and contribute those features as a follow-up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: channel go Pull requests that update go code type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants