com.foxinmy.weixin4j.tuple
Class File
java.lang.Object
com.foxinmy.weixin4j.tuple.File
- All Implemented Interfaces:
- ChatTuple, NotifyTuple, Tuple, Serializable
public class File
- extends Object
- implements NotifyTuple, ChatTuple
文件对象
可用于企业号的「客服消息」及「聊天消息」
- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
,
Serialized Form
File
public File(String mediaId)
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.