
net.sf.weixinmp.inbound.plain.InboundImageMessage Maven / Gradle / Ivy
The newest version!
package net.sf.weixinmp.inbound.plain;
import net.sf.weixinmp.inbound.InboundMessage;
/**
* 图片消息
1348831860
1234567890123456
参数 描述
ToUserName 开发者微信号
FromUserName 发送方帐号(一个OpenID)
CreateTime 消息创建时间 (整型)
MsgType image
PicUrl 图片链接
MediaId 图片消息媒体id,可以调用多媒体文件下载接口拉取数据。
MsgId 消息id,64位整型
* @author Alex
*
*/
public class InboundImageMessage extends InboundMessage{
/**
*
*/
private static final long serialVersionUID = 1L;
private String picUrl;
private String medialId;
public String getPicUrl() {
return picUrl;
}
public void setPicUrl(String picUrl) {
this.picUrl = picUrl;
}
public String getMedialId() {
return medialId;
}
public void setMediaId(String medialId) {
this.medialId = medialId;
}
@Override
public String toString() {
return "ImageMessage [picUrl=" + picUrl + ", medialId=" + medialId
+ ", " + super.toString() + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy