1

I have a slack bolt app that is on socket mode and is listening to messages using

app.message(/.*/, async ({ message, say, context, client, ack })=>{}

I would like to add a 'typing...' notification on slack after a user types a message and before the bot responds.

However, when I use this method,

await client.chat.sendTyping({
  token: context.botToken,
  channel: message.channel
});

It gives me error: TypeError: client.chat.sendTyping is not a function

I tried the slack documentation but couldn't get any help there as well.

How do I notify the user that the bot is 'typing...' when creating a slack bolt app in socket mode ?

Aadesh
  • 403
  • 3
  • 13

1 Answers1

0

Unfortunately, sending "typing..." indicator from a 3rd party app is unsupported. There is no workaround.

Kazuhiro Sera
  • 1,822
  • 12
  • 15