how to permanently delete photos [with photo name] from telegram using api in asp.net c#

Ashok Kumar 161 Reputation points
2023-01-02T07:34:04.103+00:00

I am looking to delete a photo(test.png, permanently from telegram) sent by my bot using telegram API and I'm able to deleting the photo(message) using deleteMessage so if I use the same photo with the same name (photo ex :- test.png) and modifying that photo and re-sending to telegram channel using API, photo is sending but it is not going as I modified photo it is going like initially sent photo (because the photo name{test.png} is already saved in telegram) so is it possible to delete a photo with the name also from telegram using API ?

Suggest me how to achieve this.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,270 questions
0 comments No comments
{count} votes