From fc98b1a6999d8e35d057b20e3ddb3969759c9375 Mon Sep 17 00:00:00 2001 From: John Smith Date: Mon, 11 Sep 2023 23:26:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=BC=80=E6=94=BE=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E6=A8=A1=E5=9E=8BLikeMessage=E7=9A=84timestamp?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blivedm/models/open_live.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blivedm/models/open_live.py b/blivedm/models/open_live.py index 4f33ef8..3a66d4b 100644 --- a/blivedm/models/open_live.py +++ b/blivedm/models/open_live.py @@ -349,8 +349,8 @@ class LikeMessage: """用户UID""" uface: str = '' """用户头像""" - timestamp: int = 0 - """时间秒级时间戳""" + # timestamp: int = 0 # 官方文档里有这个字段,实际上没有 + # """时间秒级时间戳""" room_id: int = 0 """发生的直播间""" like_text: str = '' @@ -370,7 +370,7 @@ class LikeMessage: uname=data['uname'], uid=data['uid'], uface=data['uface'], - timestamp=data['timestamp'], + # timestamp=data['timestamp'], # 官方文档里有这个字段,实际上没有 room_id=data['room_id'], like_text=data['like_text'], fans_medal_wearing_status=data['fans_medal_wearing_status'],