Vk-node-bot-api. How to send a message when inviting a bot to a conversation?
I have seen such a thing in many bots before.
listen to the long poll and see when the message_new event type will be, then make a condition, if 'action' is in event.object, well then see that event.object.action.type is equal to chat_invite_user and event.object.action.member_id is is equal to -id of your BotAnonymous
To place the code, please use CodePen or similar tool. Thanks you!