Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to disable web previews? #23

Closed
orzklv opened this issue Aug 30, 2020 · 4 comments · Fixed by #24
Closed

how to disable web previews? #23

orzklv opened this issue Aug 30, 2020 · 4 comments · Fixed by #24

Comments

@orzklv
Copy link

orzklv commented Aug 30, 2020

No description provided.

@MarcMogdanz
Copy link

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

@appleboy
Copy link
Owner

appleboy commented Oct 3, 2020

@MarcMogdanz @genemators I will take it.

@appleboy
Copy link
Owner

appleboy commented Oct 3, 2020

@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

@orzklv
Copy link
Author

orzklv commented Oct 3, 2020

Thank you very much 😍

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 a pull request may close this issue.

3 participants