Skip to content

Commit

Permalink
Telegram: Fix token
Browse files Browse the repository at this point in the history
  • Loading branch information
sounddrill31 authored Jun 26, 2024
1 parent 869eb08 commit 12dbdff
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ jobs:
send_telegram_message() {
local message="$1"
curl -s -X POST \
https://api.telegram.org/botbotToken/sendMessage \
https://api.telegram.org/bot$botToken/sendMessage \
-d chat_id=chatId \
-d text="$message" \
-d parse_mode="Markdown"
Expand Down Expand Up @@ -436,7 +436,7 @@ jobs:
send_telegram_message() {
local message="$1"
curl -s -X POST \
https://api.telegram.org/botbotToken/sendMessage \
https://api.telegram.org/bot$botToken/sendMessage \
-d chat_id=chatId \
-d text="$message" \
-d parse_mode="Markdown"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ jobs:
send_telegram_message() {
local message="$1"
curl -s -X POST \
https://api.telegram.org/botbotToken/sendMessage \
https://api.telegram.org/bot$botToken/sendMessage \
-d chat_id=chatId \
-d text="$message" \
-d parse_mode="Markdown"
Expand Down Expand Up @@ -463,7 +463,7 @@ jobs:
send_telegram_message() {
local message="$1"
curl -s -X POST \
https://api.telegram.org/botbotToken/sendMessage \
https://api.telegram.org/bot$botToken/sendMessage \
-d chat_id=chatId \
-d text="$message" \
-d parse_mode="Markdown"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/twrp-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ jobs:
send_telegram_message() {
local message="$1"
curl -s -X POST \
https://api.telegram.org/botbotToken/sendMessage \
https://api.telegram.org/bot$botToken/sendMessage \
-d chat_id=chatId \
-d text="$message" \
-d parse_mode="Markdown"
Expand Down Expand Up @@ -365,7 +365,7 @@ jobs:
send_telegram_message() {
local message="$1"
curl -s -X POST \
https://api.telegram.org/botbotToken/sendMessage \
https://api.telegram.org/bot$botToken/sendMessage \
-d chat_id=chatId \
-d text="$message" \
-d parse_mode="Markdown"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/twrp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ jobs:
send_telegram_message() {
local message="$1"
curl -s -X POST \
https://api.telegram.org/botbotToken/sendMessage \
https://api.telegram.org/bot$botToken/sendMessage \
-d chat_id=chatId \
-d text="$message" \
-d parse_mode="Markdown"
Expand Down Expand Up @@ -365,7 +365,7 @@ jobs:
send_telegram_message() {
local message="$1"
curl -s -X POST \
https://api.telegram.org/botbotToken/sendMessage \
https://api.telegram.org/bot$botToken/sendMessage \
-d chat_id=chatId \
-d text="$message" \
-d parse_mode="Markdown"
Expand Down

0 comments on commit 12dbdff

Please sign in to comment.