瀏覽代碼

transfer KF helper function

master
Patrick Peng Sun 8 年之前
父節點
當前提交
56aeebb7d2
共有 1 個檔案被更改,包括 10 行新增0 行删除
  1. +10
    -0
      wechatMsg.go

+ 10
- 0
wechatMsg.go 查看文件

@@ -27,3 +27,13 @@ func (m *InWechatMsg) replyText(s string) {
str, _ := BuildTextMsg(m.header.FromUserName, s)
m.instantResponse <- str
}

func (m *InWechatMsg) transfer2KF() {
str, _ := BuildKFTransferAnyOneMsg(m.header.FromUserName)
m.replyXML(str)
}

func (m *InWechatMsg) transfer2SpecificKF(kf string) {
str := buildKfForwardMsg(m.header.FromUserName, kf)
m.replyXML(str)
}

Loading…
取消
儲存