com.foxinmy.weixin4j.tuple
Class Image

java.lang.Object
  extended by com.foxinmy.weixin4j.tuple.Image
All Implemented Interfaces:
ChatTuple, MassTuple, NotifyTuple, Tuple, Serializable
Direct Known Subclasses:
Voice

public class Image
extends Object
implements MassTuple, NotifyTuple, ChatTuple

图片对象

可用于「客服消息」「群发消息」及企业号的「聊天消息」

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:
, Serialized Form

Constructor Summary
Image(String mediaId)
           
 
Method Summary
 String getMediaId()
           
 String getMessageType()
          消息类型
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Image

public Image(String mediaId)
Method Detail

getMessageType

public String getMessageType()
Description copied from interface: Tuple
消息类型

Specified by:
getMessageType in interface Tuple
Returns:

getMediaId

public String getMediaId()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014–2017. All rights reserved.