From 2be36d1fc03acc001d4fdd87b8f4d1c2cd1f40a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=98=E5=BF=A7=E5=8C=97=E8=90=B1=E8=8D=89?= Date: Mon, 9 Aug 2021 16:07:29 +0800 Subject: [PATCH] =?UTF-8?q?with=5Fdownload=5Finfo=20=E5=85=BC=E5=AE=B9=20m?= =?UTF-8?q?ah=202.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mirai/models/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mirai/models/api.py b/mirai/models/api.py index 10e4dc5..98f5c2d 100644 --- a/mirai/models/api.py +++ b/mirai/models/api.py @@ -628,7 +628,7 @@ class FileList(ApiGet): """文件夹 id,空串为根目录。""" target: int """群号或好友 QQ 号。""" - with_download_info: bool = False + with_download_info: Optional[bool] = None """是否携带下载信息。""" class Info(ApiGet.Info): name = "file/list" @@ -642,7 +642,7 @@ class FileInfo(ApiGet): """文件 id。""" target: int """群号或好友 QQ 号。""" - with_download_info: bool = False + with_download_info: Optional[bool] = None """是否携带下载信息。""" class Info(ApiGet.Info): name = "file/info"