public static class WxRequestBody.Message extends WxRequestBody
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 WxMessage.Type |
messageType
通用
消息类型
|
protected Long |
msgId |
createTime, fromUserName, toUserName
Constructor and Description |
---|
Message() |
Modifier and Type | Method and Description |
---|---|
WxMessage.Type |
getMessageType() |
Long |
getMsgId() |
WxRequestBody.Message |
of(WxRequest.Body body)
消息转换
|
getCreateTime, getFromUserName, getToUserName, of
protected WxMessage.Type messageType
protected Long msgId
public WxRequestBody.Message of(WxRequest.Body body)
WxRequestBody
of
in class WxRequestBody
public WxMessage.Type getMessageType()
getMessageType
in class WxRequestBody
public Long getMsgId()
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.