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

send pdf to telegram group #66

Open
volker-raschek opened this issue Dec 4, 2018 · 0 comments
Open

send pdf to telegram group #66

volker-raschek opened this issue Dec 4, 2018 · 0 comments

Comments

@volker-raschek
Copy link

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

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

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?

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