You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We've found some differences between the updateActivity method from BotAdapter in DotNet and JS SDK.
In the DotNet version (link here), the UpdateActivityAsync method returns a Task<ResourceResponce>, which allows us to access to the ResourceResponse properties, as its Id. However, in the JS version (link here), the method returns a Promise, which is a completely different behavior from the DotNet's implementation.
Describe the solution you'd like
Add a new implementation of the updateActivity in BotAdapter.ts which returns a Promise<ResourceResponse> for ensuring parity with the DotNet version.
Additional context
DotNet implementation:
JS implementation:
[enhancement]
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We've found some differences between the
updateActivity
method from BotAdapter in DotNet and JS SDK.In the DotNet version (link here), the UpdateActivityAsync method returns a Task<ResourceResponce>, which allows us to access to the ResourceResponse properties, as its Id. However, in the JS version (link here), the method returns a Promise, which is a completely different behavior from the DotNet's implementation.
Describe the solution you'd like
Add a new implementation of the updateActivity in BotAdapter.ts which returns a Promise<ResourceResponse> for ensuring parity with the DotNet version.
Additional context
DotNet implementation:
JS implementation:
[enhancement]
The text was updated successfully, but these errors were encountered: