8000 Removing unnecesary encoding · snifhex/botbuilder-python@6e69cb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e69cb6

Browse files
committed
Removing unnecesary encoding
1 parent ceafbb6 commit 6e69cb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/15.handling-attachments/bots/attachments_bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _get_inline_attachment(self) -> Attachment:
110110

111111
return Attachment(
112112
name="architecture-resize.png",
113-
type="image/png",
113+
content_type="image/png",
114114
conten 76FA t_url=f"data:image/png;base64,{base64_image}"
115115
)
116116

@@ -138,7 +138,7 @@ async def _get_upload_attachment(self, turn_context: TurnContext) -> Attachment:
138138

139139
return Attachment(
140140
name="architecture-resize.png",
141-
type="image/png",
141+
content_type="image/png",
142142
content_url=attachment_uri
143143
)
144144

0 commit comments

Comments
 (0)
0