Skip to content

Commit b101431

Browse files
committed
fix: telegram event converter bug
1 parent fcc2f6a commit b101431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/platform/sources/telegram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async def target2yiri(event: Update, bot: telegram.Bot, bot_account_id: str):
102102
sender=platform_entities.Friend(
103103
id=event.effective_chat.id,
104104
nickname=event.effective_chat.first_name,
105-
remark=event.effective_chat.id,
105+
remark=str(event.effective_chat.id),
106106
),
107107
message_chain=lb_message,
108108
time=event.message.date.timestamp(),

0 commit comments

Comments
 (0)