https://github.com/p4irin/action-send-telegram
Send a Telegram message from within a GitHub Actions workflow
https://github.com/p4irin/action-send-telegram
docker github-actions github-workflow telegram
Last synced: 1 day ago
JSON representation
Send a Telegram message from within a GitHub Actions workflow
- Host: GitHub
- URL: https://github.com/p4irin/action-send-telegram
- Owner: p4irin
- License: mit
- Created: 2024-03-30T10:26:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-30T15:00:14.000Z (over 2 years ago)
- Last Synced: 2025-04-07T21:49:31.256Z (about 1 year ago)
- Topics: docker, github-actions, github-workflow, telegram
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/p4irin/action-send-telegram/actions/workflows/test_action.yml)
# Send Telegram action
Send a message to a Telegram user or group from within a GitHub Actions workflow
## Prerequisite
Get a Telegram bot token and the chat-id of the user/group you want to send a message to: [Create a new Telegram bot](https://core.telegram.org/bots/features#creating-a-new-bot)
## Inputs
### `telegram-bot-token`
**Required** Your Telegram bot token.
### `telegram-chat-id`
**Required** The chat-id of a Telegram user or group
### `message`
**Required** Your text message
## Outputs
### `telegram_response`
The response from Telegram
## Example usage
```
uses: p4irin/action-send-telegram@v1
with:
telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
telegram-chat-id: ${{ secrets.TELEGRAM_CHAT_ID}}
message: 'Your message here'
```