Enum Class WeChatWorkSessionState
- All Implemented Interfaces:
Serializable
,Comparable<WeChatWorkSessionState>
,Constable
企业微信客服会话状态枚举
- Author:
- kefux.com
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription由智能助手接待 可使用API回复消息。已结束/未开始 会话已经结束或未开始(客户进入会话,还没上行消息)。由人工接待 人工接待中。未处理 新会话接入(客户发消息咨询)。待接入池排队中 在待接入池中排队等待接待人员接入。 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WeChatWorkSessionState
fromValue
(int value) int
getValue()
static WeChatWorkSessionState
Returns the enum constant of this class with the specified name.static WeChatWorkSessionState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNPROCESSED
未处理 新会话接入(客户发消息咨询)。可选择: 1.直接用API自动回复消息。 2.放进待接入池等待接待人员接待。 3.指定接待人员(接待人员须处于"正在接待"中,下同)进行接待 -
AI_RECEPTION
由智能助手接待 可使用API回复消息。可选择转入待接入池或者指定接待人员处理。 -
WAITING_IN_QUEUE
待接入池排队中 在待接入池中排队等待接待人员接入。可选择转为指定人员接待 -
HUMAN_RECEPTION
由人工接待 人工接待中。可选择转接给其他接待人员处理或者结束会话。 -
ENDED_OR_NOT_STARTED
已结束/未开始 会话已经结束或未开始(客户进入会话,还没上行消息)。 不允许通过API变更会话状态,客户发消息咨询后会话状态变为"未处理"。 接待人员通过客户端在已结束会话中成功发送消息后,会话状态变为"由人工接待", 此时会产生会话状态变更回调事件(4-重新接入已结束/已转接会话)。
-
-
Field Details
-
value
private final int value
-
-
Constructor Details
-
WeChatWorkSessionState
private WeChatWorkSessionState(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue() -
fromValue
-