79836882

Date: 2025-12-03 12:33:07
Score: 1
Natty:
Report link

Thanks for the input! I understand your point, but the recruiter already solved this exact challenge (as shown in my screenshot), so it should definitely be possible on the web version.

And funny enough, while digging through the debugger I found a hidden function in the client code (sendDisappearingPhoto with ttl_seconds), so the logic actually exists — I just haven’t figured out how to trigger it programmatically yet. code context:

file name: source125
async function sendDisappearingPhoto(chatId, file, ttlSeconds = 60) {
const uploadedFile = await module103Exports.uploadFile(file);
const media = {
_: 'inputMediaUploadedPhoto',
file: uploadedFile,
ttl_seconds: ttlSeconds,
};
const random_id = Math.floor(Math.random() * 0xFFFFFFFF);
return module103Exports.sendMedia({
peer: { _: 'peerUser', user_id: chatId },
media: media,
message: '',
random_id: random_id,
});
}

Still trying to piece it together, but at least now I have some hope. hers how you can know that you solved the chalange

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: saad jlassi