Skip to content

Commit 65033ff

Browse files
authored
fix: 修复 Bot#getPrivateChat 接口请求体格式错误 (#53)
1 parent a3636a8 commit 65033ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ export class Bot {
615615
*/
616616
public async getPrivateChat(user: bigint) {
617617
return await Bot.unwrap<Chat>(this.request('/getPrivateChat', {
618-
user_id: String(user),
618+
user_id: user,
619619
}));
620620
}
621621

0 commit comments

Comments
 (0)