How to send photo as link
TheDudoser opened this issue · 1 comments
TheDudoser commented
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
TheDudoser commented
It turned out only with the help of wget
before that, download the picture and transfer the result to the bot