-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some missing types at directline.d.ts #255
Comments
@bivas6 As a workaround, you can suppress the error and still send your activity with any type or Something like this: //@ts-ignore: Activity Schema is valid for DirectLine, but not the botframework-directline package
this._directLine.postActivity({ type: 'endOfConversation' }) @compulim Is there a reason this doesn't include all DL schema? If you like, I can submit a PR that covers this. |
DirectLineJS is a browser client on DirectLine and will not support the full DirectLine schema. That said, we will evaluate the interface we expose to see if we should add or remove any existing types and will report back. |
Hi @bivas6, we'll take an item in our upcoming milestone to update the types exposed. |
Thanks @cwhitten |
@bivas6 we were unable to complete this in our current sprint. Moving to next sprint. |
@cwhitten ping |
Currently in our upcoming milestone (March 2021) |
ping? |
This can be closed. |
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!
The text was updated successfully, but these errors were encountered: