Answer the question
In order to leave comments, you need to log in
How to write comments on a telegram post using API(pyrogram)?
channel = client.get_chat(message.sender_chat.id)
linked_chat = channel.linked_chat
message_id = message.message_id
client.send_message(linked_chat.id, 'lol', reply_to_message_id=message_id)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question