public class SendRobotMessageRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
atAll
example:
false
|
List<String> |
atAppUids |
List<String> |
atMobiles |
List<String> |
atUnionIds |
List<String> |
atUsers |
String |
channel
example:
123
|
Map<String,?> |
msgMediaIdParamMap
example:
{"pic1":"@123","pic2":"@456"}
|
Map<String,?> |
msgParamMap
example:
{"text1":"hello","text2":"world"}
|
String |
msgTemplateId
example:
123
|
List<String> |
receiverAppUids |
List<String> |
receiverMobiles |
List<String> |
receiverUnionIds |
List<String> |
receiverUserIds |
String |
robotCode
example:
123
|
String |
targetOpenConversationId
example:
123
|
| 构造器和说明 |
|---|
SendRobotMessageRequest() |
@NameInMap(value="atAll") public Boolean atAll
false
@NameInMap(value="channel") public String channel
123
@NameInMap(value="msgMediaIdParamMap") public Map<String,?> msgMediaIdParamMap
{"pic1":"@123","pic2":"@456"}
@NameInMap(value="msgParamMap") public Map<String,?> msgParamMap
{"text1":"hello","text2":"world"}
@NameInMap(value="msgTemplateId") public String msgTemplateId
123
@NameInMap(value="robotCode") public String robotCode
123
@NameInMap(value="targetOpenConversationId") public String targetOpenConversationId
123
public static SendRobotMessageRequest build(Map<String,?> map) throws Exception
Exceptionpublic SendRobotMessageRequest setAtAll(Boolean atAll)
public Boolean getAtAll()
public SendRobotMessageRequest setAtAppUids(List<String> atAppUids)
public SendRobotMessageRequest setAtMobiles(List<String> atMobiles)
public SendRobotMessageRequest setAtUnionIds(List<String> atUnionIds)
public SendRobotMessageRequest setAtUsers(List<String> atUsers)
public SendRobotMessageRequest setChannel(String channel)
public String getChannel()
public SendRobotMessageRequest setMsgMediaIdParamMap(Map<String,?> msgMediaIdParamMap)
public SendRobotMessageRequest setMsgParamMap(Map<String,?> msgParamMap)
public SendRobotMessageRequest setMsgTemplateId(String msgTemplateId)
public String getMsgTemplateId()
public SendRobotMessageRequest setReceiverAppUids(List<String> receiverAppUids)
public SendRobotMessageRequest setReceiverMobiles(List<String> receiverMobiles)
public SendRobotMessageRequest setReceiverUnionIds(List<String> receiverUnionIds)
public SendRobotMessageRequest setReceiverUserIds(List<String> receiverUserIds)
public SendRobotMessageRequest setRobotCode(String robotCode)
public String getRobotCode()
public SendRobotMessageRequest setTargetOpenConversationId(String targetOpenConversationId)
public String getTargetOpenConversationId()
Copyright © 2025. All rights reserved.