TelegramMessenger / MTProxy

5.02k stars 831 forks source link

Issue with retrieving new ads in Telegram using the getSponsoredMessages method #601

Open alexey10mentor opened 2 months ago

alexey10mentor commented 2 months ago

Hello!

I’m using the channels.getSponsoredMessages method from the Telethon library to retrieve ads in Telegram, and everything works great. However, I’ve noticed that there’s recently a new type of ad with a large image or video. When I try to retrieve this ad, the response looks like this: { "CONSTRUCTOR_ID": 3387825543, "SUBCLASS_OF_ID": 2134993376, "className": "messages.SponsoredMessages", "classType": "constructor", "flags": 0, "postsBetween": null, "messages": [], "chats": [], "users": [] }

Why is it returning an empty object? Can anyone help with this issue?

Thank you!