appleboy / appleboy/drone-telegram

send pdf to telegram group

Open
#66 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
113
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Hello,
I want to use the telegram plugin to send a pdf document to a telegram group.

I defined this configuration into my `.drone.yml` file

```yaml
pipeline:
telegram:
image: appleboy/drone-telegram
token: [ telegram_token ]
to: [ telegram_user_id ]
document:
- index.pdf
when:
event: tag
message: >
{{#success build.status}}
Build {{build.number}} succeeded for tag {{build.tag}}. Good job :)
{{else}}
Build {{build.number}} failed for tag {{build.tag}}. Fix me please :(
{{/success}}
```

The telegram_token and telegram_user_id is defined over the drone web interface for the project.
But I get every time the error

```bash
2018/12/04 14:38:26 Not Found
```

I can not find out what the plugin not find. The PDF-Document, the user-group or the telegram token.

The readme should also be completed by the plugin. Finally, I'm not sure if the token is meant inclusive prefix (bot) or exclusive. In addition, the documentation only speaks of a user_id. Is it even possible to send files to a group? If so, this should be documented. If not, how can I specify multiple user_ids to send the document to?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the .drone.yml configuration and the plugin README, then reproduce a tag build that sends index.pdf to a Telegram group. Trace whether the failure comes from the document path, token or recipient configuration, and document the supported token format, group recipients, and multiple recipient behavior when the result is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
api, documentation
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.