#Is there any way to check if an image is set to view-once?
1 messages · Page 1 of 1 (latest)
Sure, with the image data you get there isViewOnce value (is boolean: true or false)
if(msg.hasMedia && msg._data.isViewOnce){
// This media can be seen only once.
}
});```
Worked, thanks a lot!
Excuse me, how can I send a once photo?
ii think you can try to add the same value in the send message media options but i think it didn't work (if they havn't update the library in the last times)... some time ago i try but it didn't work. also you can read the documentation and find some infos.