
com.aliyun.dingtalkim_1_0.models.SendRobotMessageRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkim_1_0.models;
import com.aliyun.tea.*;
public class SendRobotMessageRequest extends TeaModel {
@NameInMap("atAll")
public Boolean atAll;
/**
* example:
* 1107****2120
*/
@NameInMap("atAppUserId")
public String atAppUserId;
/**
* example:
* 1107****2120
*/
@NameInMap("atDingUserId")
public String atDingUserId;
/**
* This parameter is required.
*
* example:
* { "content": "我就是我, 是不一样的烟火"}
*/
@NameInMap("msgContent")
public String msgContent;
/**
* This parameter is required.
*
* example:
* text
*/
@NameInMap("msgType")
public String msgType;
/**
* This parameter is required.
*/
@NameInMap("openConversationIds")
public java.util.List openConversationIds;
/**
* example:
* kelian-custom-service-robot-101
*/
@NameInMap("robotCode")
public String robotCode;
public static SendRobotMessageRequest build(java.util.Map map) throws Exception {
SendRobotMessageRequest self = new SendRobotMessageRequest();
return TeaModel.build(map, self);
}
public SendRobotMessageRequest setAtAll(Boolean atAll) {
this.atAll = atAll;
return this;
}
public Boolean getAtAll() {
return this.atAll;
}
public SendRobotMessageRequest setAtAppUserId(String atAppUserId) {
this.atAppUserId = atAppUserId;
return this;
}
public String getAtAppUserId() {
return this.atAppUserId;
}
public SendRobotMessageRequest setAtDingUserId(String atDingUserId) {
this.atDingUserId = atDingUserId;
return this;
}
public String getAtDingUserId() {
return this.atDingUserId;
}
public SendRobotMessageRequest setMsgContent(String msgContent) {
this.msgContent = msgContent;
return this;
}
public String getMsgContent() {
return this.msgContent;
}
public SendRobotMessageRequest setMsgType(String msgType) {
this.msgType = msgType;
return this;
}
public String getMsgType() {
return this.msgType;
}
public SendRobotMessageRequest setOpenConversationIds(java.util.List openConversationIds) {
this.openConversationIds = openConversationIds;
return this;
}
public java.util.List getOpenConversationIds() {
return this.openConversationIds;
}
public SendRobotMessageRequest setRobotCode(String robotCode) {
this.robotCode = robotCode;
return this;
}
public String getRobotCode() {
return this.robotCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy