diff --git a/bot.sh b/bot.sh index 975f7a1..04b2f08 100755 --- a/bot.sh +++ b/bot.sh @@ -121,8 +121,8 @@ $current_weather ################################################################################# echo Uploading to Telegram -curl -X POST https://api.telegram.org/bot$TG_BOT_API_KEY/sendPhoto \ - -F chat_id=$TG_CHANNEL_ID \ +curl -X POST https://api.telegram.org/bot$TG_BOT_TOKEN/sendPhoto \ + -F chat_id=$TG_CHATID \ -F photo=@$image \ -F caption="$caption" \ -F parse_mode=Markdown >> /dev/null