Androz2091 / insta.js

💬 Object-oriented library for sending and receiving messages via Instagram
138 stars 42 forks source link

Update Message.js to catch hidden story share case #46

Closed dcts closed 3 years ago

dcts commented 3 years ago

This pull request solves issue #45.

It catches the case of a story share that is hidden. The message data in this case looks like this: Bildschirmfoto vom 2021-01-19 13-53-36

We could also extract the handle of the story that was hidden from the message string and save it in the this.storyShare.author variable. I am open for suggestions.

@Androz2091 Let me know what you think of this.