I am entering into a conversation inside a function, and even if I await the enter conversation function it does not wait for it to end.
do: async (ctx) => {
await ctx.conversation.enter(REGISTER_CALLER_ACTION.ADD_USERNAME);
console.log('should log after the conversation has finished'); // its logging before
return true;
},
I am entering into a conversation inside a function, and even if I await the enter conversation function it does not wait for it to end.