Closed serjou1 closed 11 months ago
npm run doc
unpinChatMessage method had a bug, it didn't use messageId properly so I got error Failed to unpin message: TypeError: Cannot create property 'chat_id' on number <message id>
Failed to unpin message: TypeError: Cannot create property 'chat_id' on number <message id>
It is an optional param. Use it like:
bot.unpinChatMessage(GROUPID, {message_id: xxx})
npm run doc
Description
unpinChatMessage method had a bug, it didn't use messageId properly so I got error
Failed to unpin message: TypeError: Cannot create property 'chat_id' on number <message id>
References