How can I get Telegram message copy link using telegram API in c#

Ashok Kumar 221 Reputation points
2022-12-01T06:40:12.083+00:00

I want to get the telegram message copy link using telegram API and I have read this document to understand and achieve my requirement but I didn't get the proper knowledge on this.

And I have send a message to telegram Channel using sendmessage telegram API and I get the response like below

   {"ok":true,"result":[{"update_id":498058662,  
   "message":{"message_id":18,"from":{"id":779000,"is_bot":false,"first_name":"Telegram"},"sender_chat":{"id":-1001687798866,"title":"Testing channel","type":"channel"},"chat":{"id":-1001687317586,"title":"testing group","type":"supergroup"},"date":1662100309,"forward_from_chat":{"id":-1001601708866,"title":"Testing channel","type":"channel"},"forward_from_message_id":37,"is_automatic_forward":true,"forward_date":1662100306,"text":"Ok"}}]}  

By using getupdates I'm getting this below response.

   {"ok":true,"result":[{"update_id":498858795,  
   "message":{"message_id":168,"from":{"id":779000,"is_bot":false,"first_name":"Telegram"},"sender_chat":{"id":-1001687798866,"title":"Testing channel","username":"mlZUCJ_vf_Y0ZjY9","type":"channel"},"chat":{"id":-10016245317586,"title":"testing group","type":"supergroup"},"date":1669873108,"forward_from_chat":{"id":-1004641798866,"title":"Testing channel","username":"mlZUCJ_vf_Y0ZjY9","type":"channel"},"forward_from_message_id":117,"is_automatic_forward":true,"forward_date":1669873104,"text":"Ok","has_protected_content":true}}]}  

But I'm not sure how to get the copy link of send message in telegram channel

Suggest me is it possible to get the copy link of telegram message?

Example Image is :-

I have send a message :

Send Message

This copy link URL I want to get using telegram API

Message copy link

Give me your best knowledge to achieve this.
Thanks.

Developer technologies C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.