From 3718d6c2bcceeb2989a97206c56af10650ab0950 Mon Sep 17 00:00:00 2001 From: eatmoreapple <15055461510@163.com> Date: Fri, 17 Dec 2021 11:49:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8B=8D=E4=B8=80=E6=8B=8D?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E7=B1=BB=E5=9E=8B=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- message.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/message.go b/message.go index 26824a1..2ab09a9 100644 --- a/message.go +++ b/message.go @@ -705,3 +705,8 @@ func (m *Message) IsPaiYiPai() bool { func (m *Message) IsJoinGroup() bool { return m.IsSystem() && strings.Contains(m.Content, "加入了群聊") && m.IsSendByGroup() } + +// IsTickled 判断消息是否为拍一拍 +func (m *Message) IsTickled() bool { + return m.IsPaiYiPai() +}