com.jfinal.weixin.sdk.msg.in.event

## 类 InCustomEvent

- java.lang.Object
- - com.jfinal.weixin.sdk.msg.in.InMsg
  - - com.jfinal.weixin.sdk.msg.in.event.EventInMsg
    - - com.jfinal.weixin.sdk.msg.in.event.InCustomEvent

- 所有已实现的接口:
    Serializable

      public class InCustomEvent
      extends EventInMsg

           接入会话：
       <xml>
       <ToUserName><![CDATA[touser]]></ToUserName>
       <FromUserName><![CDATA[fromuser]]></FromUserName>
       <CreateTime>1399197672</CreateTime>
       <MsgType><![CDATA[event]]></MsgType>
       <Event><![CDATA[kf_create_session]]></Event>
       <KfAccount><![CDATA[test1@test]]></KfAccount>
       </xml>

           关闭会话：
       <xml>
       <ToUserName><![CDATA[touser]]></ToUserName>
       <FromUserName><![CDATA[fromuser]]></FromUserName>
       <CreateTime>1399197672</CreateTime>
       <MsgType><![CDATA[event]]></MsgType>
       <Event><![CDATA[kf_close_session]]></Event>
       <KfAccount><![CDATA[test1@test]]></KfAccount>
       </xml>

           转接会话：
       <xml>
       <ToUserName><![CDATA[touser]]></ToUserName>
       <FromUserName><![CDATA[fromuser]]></FromUserName>
       <CreateTime>1399197672</CreateTime>
       <MsgType><![CDATA[event]]></MsgType>
       <Event><![CDATA[kf_switch_session]]></Event>
       <FromKfAccount><![CDATA[test1@test]]></FromKfAccount>
       <ToKfAccount><![CDATA[test2@test]]></ToKfAccount>
       </xml>

  另请参阅:
    序列化表格

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static String` | `EVENT_INCUSTOM_KF_CLOSE_SESSION`
    `static String` | `EVENT_INCUSTOM_KF_CREATE_SESSION`
    `static String` | `EVENT_INCUSTOM_KF_SWITCH_SESSION`

    - ### 从类继承的字段 com.jfinal.weixin.sdk.msg.in.event.EventInMsg

      `event`

    - ### 从类继承的字段 com.jfinal.weixin.sdk.msg.in.InMsg

      `createTime, fromUserName, msgType, toUserName`

  - ### 构造器概要

    构造器
    构造器和说明
    `InCustomEvent(String toUserName, String fromUserName, Integer createTime, String event)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getKfAccount()`
    `String` | `getToKfAccount()`
    `void` | `setKfAccount(String kfAccount)`
    `void` | `setToKfAccount(String toKfAccount)`

    - ### 从类继承的方法 com.jfinal.weixin.sdk.msg.in.event.EventInMsg

      `getEvent, setEvent`

    - ### 从类继承的方法 com.jfinal.weixin.sdk.msg.in.InMsg

      `getCreateTime, getFromUserName, getMsgType, getToUserName, setCreateTime, setFromUserName, setMsgType, setToUserName`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### EVENT_INCUSTOM_KF_CREATE_SESSION

          public static final String EVENT_INCUSTOM_KF_CREATE_SESSION

      另请参阅:
        常量字段值

    - #### EVENT_INCUSTOM_KF_CLOSE_SESSION

          public static final String EVENT_INCUSTOM_KF_CLOSE_SESSION

      另请参阅:
        常量字段值

    - #### EVENT_INCUSTOM_KF_SWITCH_SESSION

          public static final String EVENT_INCUSTOM_KF_SWITCH_SESSION

      另请参阅:
        常量字段值

  - ### 构造器详细资料

    - #### InCustomEvent

          public InCustomEvent(String toUserName,
                               String fromUserName,
                               Integer createTime,
                               String event)

  - ### 方法详细资料

    - #### getKfAccount

          public String getKfAccount()

    - #### setKfAccount

          public void setKfAccount(String kfAccount)

    - #### getToKfAccount

          public String getToKfAccount()

    - #### setToKfAccount

          public void setToKfAccount(String toKfAccount)

Copyright © 2017. All rights reserved.