Skip to content
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

After upload, the bot do not reply with attachments with contentUrl set #6

Open
compulim opened this issue Jan 29, 2020 · 0 comments
Open

Comments

@compulim
Copy link
Contributor

compulim commented Jan 29, 2020

In production bot, after you upload a file, the bot will say, "You have uploaded:".

image

Today, in production bot, it will more-or-less send us an activity looks like:

{
  attachments: [{
    contentUrl: 'https://directline.botframework.com/attachments/xxx/123.png',
    name: '123.png'
  }]
}

But, in the offline bot, it seems we are not receiving the contentUrl.

After this bug is fixed, you can look inside Web Chat code and revert it back to use offline bot. Just search some keywords in the following code.

    const { driver, pageObjects } = await setupWebDriver({
      props: {
        styleOptions: {
          enableUploadThumbnail: false
        }
      },
      // TODO: [P3] Offline bot did not reply with a downloadable attachment, we need to use production bot
      useProductionBot: true
    });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant