Привіт, користуйся)
import requests
def telegram_bot_sendtext(bot_message):
bot_token = 'token'
bot_chat_id = 'id chat'
send_text = '
https://api.telegram.org/bot' + bot_token + '/sendMessage?chat_id=' + bot_chat_id + '&parse_mode=Markdown&text=' + bot_message
response = requests.get(send_text)
return response.json()