com.aliyun.dingtalkim_1_0.models.SendMessageRequest 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 SendMessageRequest extends TeaModel {
// 消息内容
@NameInMap("message")
public String message;
// 消息类型
@NameInMap("messageType")
public String messageType;
// 群会话Id
@NameInMap("openConversationId")
public String openConversationId;
// B端客服钉钉Id
@NameInMap("receiverId")
public String receiverId;
// C端客户appUserId
@NameInMap("senderId")
public String senderId;
public static SendMessageRequest build(java.util.Map map) throws Exception {
SendMessageRequest self = new SendMessageRequest();
return TeaModel.build(map, self);
}
public SendMessageRequest setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public SendMessageRequest setMessageType(String messageType) {
this.messageType = messageType;
return this;
}
public String getMessageType() {
return this.messageType;
}
public SendMessageRequest setOpenConversationId(String openConversationId) {
this.openConversationId = openConversationId;
return this;
}
public String getOpenConversationId() {
return this.openConversationId;
}
public SendMessageRequest setReceiverId(String receiverId) {
this.receiverId = receiverId;
return this;
}
public String getReceiverId() {
return this.receiverId;
}
public SendMessageRequest setSenderId(String senderId) {
this.senderId = senderId;
return this;
}
public String getSenderId() {
return this.senderId;
}
}