public static enum MessageReq.MsgType extends Enum<MessageReq.MsgType>
| 枚举常量和说明 |
|---|
file |
image |
markdown |
miniprogram_notice |
mpnews |
news |
template_card |
text |
textcard |
video |
voice |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getLabel() |
String |
getValue() |
static MessageReq.MsgType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MessageReq.MsgType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MessageReq.MsgType text
public static final MessageReq.MsgType image
public static final MessageReq.MsgType voice
public static final MessageReq.MsgType video
public static final MessageReq.MsgType file
public static final MessageReq.MsgType textcard
public static final MessageReq.MsgType news
public static final MessageReq.MsgType mpnews
public static final MessageReq.MsgType markdown
public static final MessageReq.MsgType miniprogram_notice
public static final MessageReq.MsgType template_card
public static MessageReq.MsgType[] values()
for (MessageReq.MsgType c : MessageReq.MsgType.values()) System.out.println(c);
public static MessageReq.MsgType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String getLabel()
Copyright © 2024. All rights reserved.