Claim your Biolink Click Here
0 like 0 dislike
28 views
in Computers & Internet by (1.6k points) | 28 views

1 Answer

0 like 0 dislike

Send a message to this channel through the Bot API:

https://api.telegram.org/bot111:222/sendMessage?chat_id=@channelName&text=123

replace your token key and channel name

As the response, you will get information with chat_id of your channel.

  "ok": true,
  "result": {
    "message_id": 2,
    "sender_chat": {
      "id": -3543543543543,
      "title": "Fun Fact",
      "username": "funfact",
      "type": "channel"
    },
    "chat": {
      "id": -3543543543543,
      "title": "Fun Fact",
      "username": "funfact",
      "type": "channel"
    },
    "date": 1712142619,
    "text": "123"
  }
}

https://api.telegram.org/bot111:222/sendMessage?chat_id=-3543543543543&text=123

by (820 points)

Related questions

1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
2 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Apr 18, 2014 in Education & Reference by Yogi (460 points) | 230 views
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,313 questions
1,475 answers
569 comments
4,809 users