telegram-action icon indicating copy to clipboard operation
telegram-action copied to clipboard

Add support for sending messages to Topics

Open faizanakram99 opened this issue 2 years ago • 17 comments

Messages can be send to topics by reply_to_message_id parameter (with the message id with which topic was created)

faizanakram99 avatar Apr 17 '23 16:04 faizanakram99

upvote this feature too.

divineforge avatar May 02 '23 13:05 divineforge

+1

frct1 avatar May 16 '23 12:05 frct1

+1

pompushko avatar Jun 29 '23 14:06 pompushko

+1

kungfu321 avatar Aug 04 '23 08:08 kungfu321

+1

Chris-CBQA avatar Aug 14 '23 17:08 Chris-CBQA

+1

wxiaoyun avatar Aug 23 '23 13:08 wxiaoyun

+1

shukhratutaboev avatar Aug 29 '23 06:08 shukhratutaboev

+1

muradddd avatar Sep 20 '23 13:09 muradddd

This feature is really needed :+1:

iomonad avatar Sep 24 '23 10:09 iomonad

+1

splincode avatar Oct 02 '23 16:10 splincode

+1 Are there any updates, forks, or alternatives?

MarkParker5 avatar Oct 27 '23 12:10 MarkParker5

+1 Are there any updates, forks, or alternatives?

@MarkParker5, you can use Telegram's API.

muradddd avatar Oct 31 '23 17:10 muradddd

+1 Are there any updates, forks, or alternatives?

@MarkParker5, you can use Telegram's API.

Already. There is an example:

jobs:
  send_message:
    runs-on: ubuntu-latest
    steps:
    - name: Send Telegram Message
      run: |
        msg_text='Your message text here'
        curl -s -X POST 'https://api.telegram.org/bot${{ secrets.TOKEN }}/sendMessage' \
        -d "chat_id=${{ secrets.CHAT_ID }}&text=${msg_text}&reply_to_message_id=${{ secrets.MSG_ID }}"

MarkParker5 avatar Oct 31 '23 17:10 MarkParker5

+1

Duuuda avatar Dec 20 '23 15:12 Duuuda

+1 Are there any updates, forks, or alternatives?

@MarkParker5, you can use Telegram's API.

Already. There is an example:

jobs:
  send_message:
    runs-on: ubuntu-latest
    steps:
    - name: Send Telegram Message
      run: |
        msg_text='Your message text here'
        curl -s -X POST 'https://api.telegram.org/bot${{ secrets.TOKEN }}/sendMessage' \
        -d "chat_id=${{ secrets.CHAT_ID }}&text=${msg_text}&reply_to_message_id=${{ secrets.MSG_ID }}"

Yeah then what is the point of using this action?

faizanakram99 avatar Dec 20 '23 15:12 faizanakram99

Yeah then what is the point of using this action?

Action is more convenient, but given that it does not support the required functionality at least now, we have to use the API directly. My example isn't the answer to your issue (I actually support it and would like to have this feature), but the answer for developers who faced the same problem and need a workaround right now.

MarkParker5 avatar Dec 20 '23 17:12 MarkParker5

Yeah then what is the point of using this action?

Action is more convenient, but given that it does not support the required functionality at least now, we have to use the API directly. My example isn't the answer to your issue (I actually support it and would like to have this feature), but the answer for developers who faced the same problem and need a workaround right now.

ah ok, thanks for clarifying. Yes indeed, we also used the underlying api then

faizanakram99 avatar Dec 20 '23 18:12 faizanakram99