public static class WxRequestBody.Scan extends WxRequestBody.Event
WxRequestBody.Button, WxRequestBody.Click, WxRequestBody.Event, WxRequestBody.Image, WxRequestBody.Link, WxRequestBody.Location, WxRequestBody.LocationReport, WxRequestBody.MediaMessage, WxRequestBody.Message, WxRequestBody.Scan, WxRequestBody.ScanCode, WxRequestBody.SelectLocation, WxRequestBody.SendPicture, WxRequestBody.Subscribe, WxRequestBody.Template, WxRequestBody.Text, WxRequestBody.Unsubscribe, WxRequestBody.Video, WxRequestBody.View, WxRequestBody.Voice| Modifier and Type | Field and Description |
|---|---|
protected String |
eventKey
事件KEY值,对于Scan事件,eventKey就是scene
|
eventTypecreateTime, fromUserName, toUserName| Constructor and Description |
|---|
Scan() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEventKey() |
String |
getScene() |
String |
getTicket() |
WxRequestBody.Scan |
of(WxRequest.Body body)
消息转换
|
getEventTypegetCreateTime, getFromUserName, getMessageType, getToUserName, ofprotected String eventKey
public WxRequestBody.Scan of(WxRequest.Body body)
WxRequestBodyof in class WxRequestBody.Eventpublic String getEventKey()
public String getTicket()
public String getScene()
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.