判断消息是否为语音或视频通话邀请
This commit is contained in:
parent
0aa3dc3361
commit
6ed620f5dc
@ -732,3 +732,8 @@ func (m *Message) IsJoinGroup() bool {
|
|||||||
func (m *Message) IsTickled() bool {
|
func (m *Message) IsTickled() bool {
|
||||||
return m.IsPaiYiPai()
|
return m.IsPaiYiPai()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// IsVoipInvite 判断消息是否为语音或视频通话邀请
|
||||||
|
func (m *Message) IsVoipInvite() bool {
|
||||||
|
return m.MsgType == MsgTypeVoipInvite
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user