가장큰 장점으로 API가 공개되어 다른 프로그램 과 연동이 가능하고 정부에서 대화 내용등을 요청 하더라도 협조를 안한다는점
지금부터 봇을 만드는 방법을 약식 정리 합니다.
01. 채팅창에 /newbot 명령어를 입력하고 전송버튼을 눌러주세요.
03. 텔레그램 봇 이름을 입력합니다.
이름이 _bot 으로 끝나야함
04. 다시 이름을 입력 합니다. 통상 위 이름_bot 과 동일하게 입력 합니다.
05. API 토큰 크드 확인
04. 다시 이름을 입력 합니다. 통상 위 이름_bot 과 동일하게 입력 합니다.
05. API 토큰 크드 확인
Done! Congratulations on your new bot. You will find it at t.me/y_bot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this.
Use this token to access the HTTP API:
961*675**:AAFRNiz-ZIsEvyA58n1Vfa***
Keep your token secure and store it safely, it can be used by anyone to control your bot.
For a description of the Bot API, see this page: https://core.telegram.org/bots/api
위 내용 메모장 복사
https://api.telegram.org/bot토큰 값/getUpdates
위 내용 메모장 복사
06. t.me/y_bot 부분을 클릭하고 [ 시작] 을 눌러 봇 채팅을 활성화 시킨후 브라우저를 열고 아래 주소 호출
https://api.telegram.org/bot토큰 값/getUpdates
예) : https://api.telegram.org/bot961*675**:AAFRNiz-ZIsEvyA58n1Vfa***/getUpdates
위 주소를 호출하면 정보를 확인할수 있음
참고로 채널을 열어서 채널에 봇을 추가하고 여러명이서 봇 메세지를 함께 받을수 있다.
위 주소를 호출하면 정보를 확인할수 있음
참고로 채널을 열어서 채널에 봇을 추가하고 여러명이서 봇 메세지를 함께 받을수 있다.