Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Commit

Permalink
fix lack of GetSenderUid function
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxiaowen committed Apr 9, 2024
1 parent a352dad commit 8968352
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions v2/events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ type IGroupMsg interface {
GetGroupInfo() GroupInfo
GetSenderNick() string
GetSenderUin() int64
GetSenderUid() string
ParseTextMsg() ITextMsg
ParsePicMsg() IPicMsg
ContainedPic() bool
Expand Down Expand Up @@ -256,6 +257,9 @@ func (e *EventStruct) ExcludeBot() IEvent {
func (e *EventStruct) GetSenderUin() int64 {
return e.CurrentPacket.EventData.MsgHead.SenderUin
}
func (e *EventStruct) GetSenderUid() string {
return e.CurrentPacket.EventData.MsgHead.SenderUid
}
func (e *EventStruct) GetSenderNick() string {
return e.CurrentPacket.EventData.MsgHead.SenderNick
}
Expand Down

0 comments on commit 8968352

Please sign in to comment.