Hi,
I'm using directline in my app, and I noticed some missing types:
- This code:
this._directLine = new DirectLine(options);
this._directLine.activity$
.subscribe((activity) => console.log(activity.replyToId))
Returns this error:
Property 'replyToId' does not exist on type 'Message'.ts(2339)
But it is exist in the docs: https://docs.microsoft.com/en-us/dotnet/api/microsoft.bot.schema.activity.replytoid?view=botbuilder-dotnet-stable
- This code:
this._directLine.postActivity({ type: 'endOfConversation', text: '...' , ...});
Returns this error:
Type '"endOfConversation"' is not assignable to type '"message" | "event" | "typing"'.ts(2322)
directLine.d.ts(271, 5): The expected type comes from property 'type' which is declared here on type 'Activity'
But it is exist in the docs: https://docs.microsoft.com/en-us/dotnet/api/microsoft.bot.schema.activitytypes.endofconversation?view=botbuilder-dotnet-stable
Thanks!
Hi,
I'm using directline in my app, and I noticed some missing types:
Returns this error:
But it is exist in the docs: https://docs.microsoft.com/en-us/dotnet/api/microsoft.bot.schema.activity.replytoid?view=botbuilder-dotnet-stable
Returns this error:
But it is exist in the docs: https://docs.microsoft.com/en-us/dotnet/api/microsoft.bot.schema.activitytypes.endofconversation?view=botbuilder-dotnet-stable
Thanks!