Enum Class WeChatWorkSessionState

java.lang.Object
java.lang.Enum<WeChatWorkSessionState>
com.bytedesk.wechat.work.kefu.session.WeChatWorkSessionState
All Implemented Interfaces:
Serializable, Comparable<WeChatWorkSessionState>, Constable

public enum WeChatWorkSessionState extends Enum<WeChatWorkSessionState>
企业微信客服会话状态枚举
Author:
kefux.com
  • Enum Constant Details

    • UNPROCESSED

      public static final WeChatWorkSessionState UNPROCESSED
      未处理 新会话接入(客户发消息咨询)。可选择: 1.直接用API自动回复消息。 2.放进待接入池等待接待人员接待。 3.指定接待人员(接待人员须处于"正在接待"中,下同)进行接待
    • AI_RECEPTION

      public static final WeChatWorkSessionState AI_RECEPTION
      由智能助手接待 可使用API回复消息。可选择转入待接入池或者指定接待人员处理。
    • WAITING_IN_QUEUE

      public static final WeChatWorkSessionState WAITING_IN_QUEUE
      待接入池排队中 在待接入池中排队等待接待人员接入。可选择转为指定人员接待
    • HUMAN_RECEPTION

      public static final WeChatWorkSessionState HUMAN_RECEPTION
      由人工接待 人工接待中。可选择转接给其他接待人员处理或者结束会话。
    • ENDED_OR_NOT_STARTED

      public static final WeChatWorkSessionState ENDED_OR_NOT_STARTED
      已结束/未开始 会话已经结束或未开始(客户进入会话,还没上行消息)。 不允许通过API变更会话状态,客户发消息咨询后会话状态变为"未处理"。 接待人员通过客户端在已结束会话中成功发送消息后,会话状态变为"由人工接待", 此时会产生会话状态变更回调事件(4-重新接入已结束/已转接会话)。
  • Field Details

    • value

      private final int value
  • Constructor Details

    • WeChatWorkSessionState

      private WeChatWorkSessionState(int value)
  • Method Details

    • values

      public static WeChatWorkSessionState[] 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

      public static WeChatWorkSessionState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
    • fromValue

      public static WeChatWorkSessionState fromValue(int value)