Skip to content

Commit

Permalink
add: private message event target id field.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrs4s committed Mar 24, 2021
1 parent 6bb1939 commit b6878f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coolq/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func (bot *CQBot) privateMessageEvent(c *client.QQClient, m *message.PrivateMess
"sub_type": "friend",
"message_id": id,
"user_id": m.Sender.Uin,
"target_id": m.Target,
"message": ToFormattedMessage(m.Elements, m.Sender.Uin, false),
"raw_message": cqm,
"font": 0,
Expand Down

0 comments on commit b6878f1

Please sign in to comment.