To Reproduce
Part of your code causing the issue or the steps to reproduce the behavior:
session.changeThreadEmoji('valid thread id here', 'something that is not emoji here').then(() => {
console.log('success!');
}).catch(err => {
console.error(err);
});
Expected behavior
An error should be thrown
Actual behavior
success is present
Environment (please complete the following information):
OS: Windows 10 21H1 x64 19043.867
Node version: 15.14.0
ts-messenger-api package version: latest from github
Describe the bug As title says.
To Reproduce Part of your code causing the issue or the steps to reproduce the behavior:
Expected behavior An error should be thrown
Actual behavior success is present
Environment (please complete the following information):