- Open conversation with @BotFather.
- Post
/start, and you will see:
- Post
/newbot - Post name and username
- Done, after you get
token like as680788960:AAEKP9xGSZK9uyWGGouZFYmTkCN8i_y0w
Sending message to channel:
- Open url or get => https://api.telegram.org/bottoken/sendMessage?chat_id=chat_id&text=test
- Done
Finding chat_id:
- Add bot to as
channel administrator - Post
/startto send bot command - Open url or get => https://api.telegram.org/bottoken/getupdates
- See
channel_post.chat.id - Done
for more api kindly goto https://core.telegram.org/bots/api

Top comments (0)