1 package com.foxinmy.weixin4j.wxa.model.custommessage; 2 3 import com.alibaba.fastjson.annotation.JSONField; 4 5 /** 6 * 文本消息。 7 * 8 * @since 1.8 9 */ 10 public class Text extends com.foxinmy.weixin4j.tuple.Text { 11 12 private static final long serialVersionUID = 2018052901L; 13 14 public Text(String content) { 15 super(content); 16 } 17 18 @Override 19 @JSONField(serialize = false) 20 public String getMessageType() { 21 return super.getMessageType(); 22 } 23 24 }