Code Monkey home page Code Monkey logo

Comments (9)

stevkan avatar stevkan commented on June 2, 2024

@Anshul21, I am able to repro the issue. I am attempting to identify where the problem is originating from and if there is a possible workaround. I will update you when I know more.

from botframework-services.

Anshul21 avatar Anshul21 commented on June 2, 2024

@stevkan any ETA on this? this will help us plan our releas. Thanks

from botframework-services.

stevkan avatar stevkan commented on June 2, 2024

@Anshul21, thank you for your patience while I try to isolate why this is happening. I can see where I believe this is failing though the why is eluding me, at the moment. Out of curiosity, if you simply pass in a 'typing' activity, does that get picked up by Slack?

await turnContext.sendActivities([
     { type: ActivityTypes.Typing },
     { type: 'delay', value: 500 },
]);

from botframework-services.

Anshul21 avatar Anshul21 commented on June 2, 2024

@stevkan i tried, it didnt work .

from botframework-services.

stevkan avatar stevkan commented on June 2, 2024

@Anshul21, thank you for your patience. I can see that the typing activity appears to be processed but it also seems as though it is getting bypassed as new activities are coming in behind it. I seem to be getting the same result whether using the 'showTypingMiddleware()' or just sending a typing activity after every activity in the 'adapter.processActivity()` method. I'm digging deeper and hope to have more of a response soon.

from botframework-services.

stevkan avatar stevkan commented on June 2, 2024

@Anshul21, I tested this with a colleague and what we were able to determine is the typing activity, whether from the middleware or as an independent activity, is not being honored when sent to Slack. I am unsure if the issue is on the BotFramework Services side or something with Slack, itself.

@Services team - who would be the right person to own this item for further investigating?

from botframework-services.

bobokids avatar bobokids commented on June 2, 2024

Shiyi, could you help to take a look?

from botframework-services.

ssss141414 avatar ssss141414 commented on June 2, 2024

Investigating.

from botframework-services.

ssss141414 avatar ssss141414 commented on June 2, 2024

@Anshul21 Sorry for the late reply, since we are fixing some issues in our Slack webjob these months.

User-typing is a Slack RTM only API. According to Slack official document, new Slack app may not use any RTM API. Also in our side, we also don't support RTM API for bot later than 2019.

If Slack publish a user_typing Events API in the future, we will go to support this feature.

Reference: https://api.slack.com/events

from botframework-services.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.