-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Labels
bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.The issue has just been created and it has not been reviewed by the team.
Description
code of attachment:
def create_file_attachment(self, file_path):
with open(file_path, "rb") as file_stream:
file_data = file_stream.read()
attachment = Attachment(
name=os.path.basename(file_path),
content_type="application/octet-stream",
content=file_data
)
return attachment
problem:
# the bot will send a docx file as an attachment to the user
# but the attachment can't be downloaded by the user in the emulator(download button is not available)
needs:
the attachment can be downloaded by the user in the emulator
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.The issue has just been created and it has not been reviewed by the team.