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 send photo as link #55

Open
Dudoserovich opened this issue Feb 12, 2023 · 1 comment
Open

How to send photo as link #55

Dudoserovich opened this issue Feb 12, 2023 · 1 comment

Comments

@Dudoserovich
Copy link

Dudoserovich commented Feb 12, 2023

Hello!
I want to send a picture generated by api, but the bot just skips the code section with sending a photo if I specify a link ((
I tried to specify the link both in quotes and without

Example code:

name: telegram message
on: [workflow_dispatch]
jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
      - name: send default message
        uses: appleboy/telegram-action@master
        with:
          to: ${{ secrets.TELEGRAM_TO }}
          token: ${{ secrets.TELEGRAM_TOKEN }}
          message: hello
          photo: https://cataas.com/cat
@Dudoserovich
Copy link
Author

It turned out only with the help of wget before that, download the picture and transfer the result to the bot

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

No branches or pull requests

1 participant