Skip to content

Support superchats - #140

Closed
ushmodin wants to merge 3 commits into
appleboy:masterfrom
ushmodin:master
Closed

Support superchats#140
ushmodin wants to merge 3 commits into
appleboy:masterfrom
ushmodin:master

Conversation

@ushmodin

@ushmodin ushmodin commented Oct 22, 2025

Copy link
Copy Markdown
  1. Migration to github.com/go-telegram/bot. Previously not support message_thread_id tag
  2. Support pass message_thread_id
 - name: notify
    image: appleboy/drone-telegram
    when:
        status: [ success, failure ]
    settings:
        token:
            from_secret: tg_bot_secret
        to: '12345#678'

ChatID: 12345
MessageThreadID: 678

@chrisbward

Copy link
Copy Markdown

hey @ushmodin - I'm assuming this is for group chats with topics? (superchats) or am I thinking of a different concept here?

I just tried a group chat with topic, but I'm getting bad request, Bad Request: chat not found, even though I have my bot talking to me directly - just can't seem to get it talking to an existing chat+topic

@chrisbward

Copy link
Copy Markdown

hey @ushmodin - I'm assuming this is for group chats with topics? (superchats) or am I thinking of a different concept here?

I just tried a group chat with topic, but I'm getting bad request, Bad Request: chat not found, even though I have my bot talking to me directly - just can't seem to get it talking to an existing chat+topic

I dug in to the code and some documentation, and seems like I had to prefix the group ID with -100 for it to work. Nice one!

@ushmodin

Copy link
Copy Markdown
Author

implemented in #141
Thanks

@ushmodin ushmodin closed this May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants