()
| 218 | } |
| 219 | |
| 220 | func (m *Message) IsText() bool { |
| 221 | return m.MsgType == MsgTypeText && m.Url == "" |
| 222 | } |
| 223 | |
| 224 | func (m *Message) IsLocation() bool { |
| 225 | return m.MsgType == MsgTypeText && strings.Contains(m.Url, "apis.map.qq.com") && strings.Contains(m.Content, "pictype=location") |
no outgoing calls