Skip to content
message-square

GitHub Action

Telegram message

v0.1.2 Pre-release

Telegram message

message-square

Telegram message

Send Telegram message

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Telegram message

uses: akeylimepie/telegram-action@v0.1.2

Learn more about this action in akeylimepie/telegram-action

Choose a version

jobs:
    job:
        runs-on: ubuntu-latest
        steps:
            -   id: send_message
                uses: akeylimepie/telegram-action@main
                with:
                    token: ${{ secrets.TOKEN }}
                    chat_id: ${{ secrets.CHAT_ID }}
                    message_thread_id: ${{ secrets.TOPIC_ID }}
                    parse_mode: html
                    disable_notification: true
                    text: |
                        Mona the <a href="https://google.com">Octocat</a>

            -   run: |
                    echo "Message ID: ${{ steps.send_message.outputs.message_id }}"