appleboy/telegram-action

how to disable web previews?

orzklv opened this issue · 4 comments

how to disable web previews?

Currently not possible, as this repo is using the author's drone-telegram docker image you can possibly create an issue over there :)

@MarcMogdanz @genemators I will take it.

@MarcMogdanz @genemators

See https://github.com/appleboy/telegram-action/releases/tag/v0.1.0

    - name: link preview
      uses: appleboy/telegram-action@master
      with:
        to: ${{ secrets.TELEGRAM_TO }}
        token: ${{ secrets.TELEGRAM_TOKEN }}
        message: |
          show link preview https://google.com.tw

    - name: disable link preview
      uses: appleboy/telegram-action@master
      with:
        to: ${{ secrets.TELEGRAM_TO }}
        token: ${{ secrets.TELEGRAM_TOKEN }}
        disable_web_page_preview: true
        message: |
          disable link preview https://google.com.tw

Thank you very much 😍