sorexq/Telegram Approval Upload
Ask for Telegram approval, wait for response, then upload a file on yes.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| bot_token | Telegram bot token | yes | — |
| chat_id | Telegram chat ID where approval message is sent | yes | — |
| file_path | Path to the file to upload if approved | yes | — |
| timeout | Approval wait timeout in seconds | no | 15 |
| request_text | Approval request message text | no | Upload the build artifact? |
| fail_on_no | Fail action when decision is no/timeout | no | false |
Outputs
| name | description |
|---|---|
| decision | Final user decision: yes or no |
| status | Final status: uploaded, declined, timed_out, or upload_failed |
| message_id | Telegram message ID of the approval prompt |