소스 검색

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…
취소
저장