import telegram bot = telegram.Bot(token='telegram') bot.sendMessage(chat_id=chat_id, text="test") 텔레그램은 매우 편하게 보낼 수 있게 만들어져 있습니다. 메세지 보내는 코드를 작성했습니다. 1. cmd에서 pip install python-telegram-bot --upgrade 입력해서 텔레그램 봇 설치 2. Telegram BotFather에 채팅으로 /start /newbot 봇 이름 정해서 두번 입력 3. 봇 생성 완료 4. 네모 표시한 HTTP API가 이제 명령을 내릴 토큰 입니다. token= 다음에 입력하면 해당 봇이 작동하게 됩니다. 참고로 대화를 보낼 상대방의 chat_id를 모르는 경우에..