Package io.github.doocs.im.model.request
Class SendMsgRequest
java.lang.Object
io.github.doocs.im.model.request.GenericRequest
io.github.doocs.im.model.request.SendMsgRequest
单发单聊消息-请求参数
- Since:
- 2021/07/29 11:31
- Author:
- hyh
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSendMsgRequest(Integer syncOtherMachine, String fromAccount, String toAccount, Integer msgLifeTime, Long msgSeq, Long msgRandom, Integer msgTimeStamp, List<String> forbidCallbackControl, List<String> sendMsgControl, List<TIMMsgElement> msgBody, String cloudCustomData, OfflinePushInfo offlinePushInfo) SendMsgRequest(String toAccount, Long msgRandom, List<TIMMsgElement> msgBody) -
Method Summary
Modifier and TypeMethodDescriptionstatic SendMsgRequest.Builderbuilder()voidsetCloudCustomData(String cloudCustomData) voidsetForbidCallbackControl(List<String> forbidCallbackControl) voidsetFromAccount(String fromAccount) voidsetMsgBody(List<TIMMsgElement> msgBody) voidsetMsgLifeTime(Integer msgLifeTime) voidsetMsgRandom(Long msgRandom) voidvoidsetMsgTimeStamp(Integer msgTimeStamp) voidsetOfflinePushInfo(OfflinePushInfo offlinePushInfo) voidsetSendMsgControl(List<String> sendMsgControl) voidsetSyncOtherMachine(Integer syncOtherMachine) voidsetToAccount(String toAccount)
-
Constructor Details
-
SendMsgRequest
public SendMsgRequest() -
SendMsgRequest
-
SendMsgRequest
public SendMsgRequest(Integer syncOtherMachine, String fromAccount, String toAccount, Integer msgLifeTime, Long msgSeq, Long msgRandom, Integer msgTimeStamp, List<String> forbidCallbackControl, List<String> sendMsgControl, List<TIMMsgElement> msgBody, String cloudCustomData, OfflinePushInfo offlinePushInfo)
-
-
Method Details
-
builder
-
getSyncOtherMachine
-
setSyncOtherMachine
-
getFromAccount
-
setFromAccount
-
getToAccount
-
setToAccount
-
getMsgLifeTime
-
setMsgLifeTime
-
getMsgSeq
-
setMsgSeq
-
getMsgRandom
-
setMsgRandom
-
getMsgTimeStamp
-
setMsgTimeStamp
-
getForbidCallbackControl
-
setForbidCallbackControl
-
getSendMsgControl
-
setSendMsgControl
-
getMsgBody
-
setMsgBody
-
getCloudCustomData
-
setCloudCustomData
-
getOfflinePushInfo
-
setOfflinePushInfo
-