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, ofprotected WxMessage.Type messageType
protected Long msgId
public WxRequestBody.Message of(WxRequest.Body body)
WxRequestBodyof in class WxRequestBodypublic WxMessage.Type getMessageType()
getMessageType in class WxRequestBodypublic Long getMsgId()
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.