Procházet zdrojové kódy

transfer KF helper function

master
Patrick Peng Sun před 8 roky
rodič
revize
56aeebb7d2
1 změnil soubory, kde provedl 10 přidání a 0 odebrání
  1. +10
    -0
      wechatMsg.go

+ 10
- 0
wechatMsg.go Zobrazit soubor

@@ -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)
}

Načítá se…
Zrušit
Uložit