send1 C# Telegram message 보내기 HttpClient 선언 using System.Net.Http; private static HttpClient httpclient = new HttpClient(); Telegram Token, Chat_id 확인하기 Telegram 봇 만들기 및 채팅 ID 얻기 1. 텔레그램에 BotFarther 추가 BotFather를 검색후 추가해준다. 2. 명령어 사용 /start를 채팅창에 치면 그림과 같이 명령어와 기능을 설명해준다. 기존에 봇이 있다면 /mybots로 관리할수 있다. 신규로 봇 program-day.tistory.com Telegram message 보내기 public void SendTelegramMsg(string msg, string chat_id, string token) { str.. 2023. 6. 29. 이전 1 다음