mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
24 lines
378 B
Go
24 lines
378 B
Go
package client
|
|
|
|
import "fmt"
|
|
|
|
type (
|
|
GroupPokeNotifyEvent struct {
|
|
GroupCode int64
|
|
Sender int64
|
|
Receiver int64
|
|
}
|
|
)
|
|
|
|
func (e *GroupPokeNotifyEvent) From() int64 {
|
|
return e.GroupCode
|
|
}
|
|
|
|
func (e *GroupPokeNotifyEvent) Name() string {
|
|
return "戳一戳"
|
|
}
|
|
|
|
func (e *GroupPokeNotifyEvent) Content() string {
|
|
return fmt.Sprintf("%d戳了戳%d", e.Sender, e.Receiver)
|
|
}
|