botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Incorrect documentation [node]

Open Xunnamius opened this issue 10 years ago • 2 comments

https://docs.botframework.com/en-us/node/builder/chat-reference/classes/botbuilder_d.middleware.html

It makes a reference to a builder.Middleware.sendTyping (let builder equal the required BotBuilder package) but this does not seem to exist in the actual BotBuilder package. If I try to use it, I get an undefined error. Exploring the Middleware object shows that it does not exist.

builder.Middleware = { [Function: Middleware] dialogVersion: [Function], firstRun: [Function] }

I'm using the latest version of the botbuilder from npm [email protected]

Followed the example from here: https://github.com/Microsoft/BotBuilder/blob/master/Node/examples/basics-firstRun/app.js

Xunnamius avatar Aug 01 '16 09:08 Xunnamius

@Xunnamius good catch, @Stevenic fixed last week, should be in the next version!

muzahmed avatar Aug 01 '16 16:08 muzahmed

Try it in 3.2.1 and I'll re-open if still exists.

Stevenic avatar Aug 04 '16 06:08 Stevenic