How do I send the typing indicator for time-consuming Stealth tasks?

0

Hello, I would like to know if there is a possibility to send the typing prompt in Facebook Messenger for tasks that sometimes take a while to send the result.

The user ends up feeling that the bot is not working or sends a message later for not having this feedback.

Something like this:

  def say_my_searches
    send_action('typing_on')
   @data = Google.search('stealth chatbots')
    send_replies
    send_action('typing_off')
  end
    
asked by anonymous 07.11.2018 / 13:55

0 answers