(from string, Msg string)
| 26 | } |
| 27 | |
| 28 | func NewTestMsg(from string, Msg string) (message *Message) { |
| 29 | |
| 30 | message = &Message{ |
| 31 | Type: MessageTypeText, |
| 32 | From: from, |
| 33 | Msg: Msg, |
| 34 | } |
| 35 | |
| 36 | return |
| 37 | } |
| 38 | |
| 39 | func getTextMsgData(cmd, uuId, msgId, message string) string { |
| 40 | textMsg := NewTestMsg(uuId, message) |