Theblood / Wapi_NEW

67 stars 28 forks source link

Uncaught TypeError: messageObject.value is not a function when trying to use window.WAPI.ReplyMessage #13

Closed kidstell closed 4 years ago

kidstell commented 4 years ago

Sample code to replicate the issue below

a = getUnreadMessages(false,false,true);
jm0 = a[18].messages[0];
window.WAPI.ReplyMessage(jm0.id,"idi araba");

This generated the error below;

Uncaught TypeError: messageObject.value is not a function
    at Object.window.WAPI.ReplyMessage (wapi.js?v=08718640043121861:665)
    at <anonymous>:1:13