添加加入群聊事件的判断
This commit is contained in:
parent
9fa6b508aa
commit
bd960ef7cf
@ -700,3 +700,8 @@ func (m *Message) IsAt() bool {
|
||||
func (m *Message) IsPaiYiPai() bool {
|
||||
return m.IsSystem() && strings.Contains(m.Content, "拍了拍")
|
||||
}
|
||||
|
||||
// IsJoinGroup 判断是否有人加入了群聊
|
||||
func (m *Message) IsJoinGroup() bool {
|
||||
return m.IsSystem() && strings.Contains(m.Content, "加入了群聊") && m.IsSendByGroup()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user