appleboy / appleboy/telegram-action

How to send photo as link

Open
#55 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
1k
Forks
126
Avg merge
7m
Merged PRs (30d)
1

Description

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:
```yml
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
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the example workflow in the issue and inspect how the action handles its photo input and external URLs. Reproduce the workflow with https://cataas.com/cat, then verify that the photo is sent instead of being skipped and document or test the resulting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.