Update Uploading_images.py
Browse files- Uploading_images.py +1 -0
Uploading_images.py
CHANGED
@@ -6,6 +6,7 @@ from collections import defaultdict
|
|
6 |
#==========================
|
7 |
# 使用者上傳圖片
|
8 |
#==========================
|
|
|
9 |
def get_image_url(message_id):
|
10 |
try:
|
11 |
message_content = line_bot_api.get_message_content(message_id)
|
|
|
6 |
#==========================
|
7 |
# 使用者上傳圖片
|
8 |
#==========================
|
9 |
+
line_bot_api = LineBotApi(os.environ["CHANNEL_ACCESS_TOKEN"])
|
10 |
def get_image_url(message_id):
|
11 |
try:
|
12 |
message_content = line_bot_api.get_message_content(message_id)
|