![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalkim_1_0.models.SendDingMessageRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkim_1_0.models;
import com.aliyun.tea.*;
public class SendDingMessageRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("code")
public String code;
/**
* This parameter is required.
*
* example:
* {"msg_type":"text","text":"hello world"}
*/
@NameInMap("message")
public String message;
/**
* This parameter is required.
*
* example:
* text
*/
@NameInMap("messageType")
public String messageType;
@NameInMap("openConversationId")
public String openConversationId;
/**
* example:
* 1107****2120
*/
@NameInMap("receiverId")
public String receiverId;
/**
* This parameter is required.
*
* example:
* 1745****8777
*/
@NameInMap("senderId")
public String senderId;
public static SendDingMessageRequest build(java.util.Map map) throws Exception {
SendDingMessageRequest self = new SendDingMessageRequest();
return TeaModel.build(map, self);
}
public SendDingMessageRequest setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public SendDingMessageRequest setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public SendDingMessageRequest setMessageType(String messageType) {
this.messageType = messageType;
return this;
}
public String getMessageType() {
return this.messageType;
}
public SendDingMessageRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public SendDingMessageRequest setReceiverId(String receiverId) {
this.receiverId = receiverId;
return this;
}
public String getReceiverId() {
return this.receiverId;
}
public SendDingMessageRequest setSenderId(String senderId) {
this.senderId = senderId;
return this;
}
public String getSenderId() {
return this.senderId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy