O
O
oe24y2021-02-20 12:13:46
API
oe24y, 2021-02-20 12:13:46

Telegram API: what is the method for sending a comment to a post in a channel?

There is a post in the channel. I want to somehow send a message via the API in the comments to the post.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex K, 2021-02-20
@alexk111

This is done by a normal sendMessage with the following set:
- chat_id - id of the chat group associated with the channel
- reply_to_message_id - id of the message created in the chat group by posting in the channel
This message will be displayed in the client as a comment to the post in the channel

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question