public class SendPersonalMessageRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
content
This parameter is required.
|
String |
msgType
This parameter is required.
|
String |
openConversationId
example:
cidc4iLyQBuHFQRvzxznz204Q==
|
String |
receiverUserId
example:
1662055829854977
|
| 构造器和说明 |
|---|
SendPersonalMessageRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SendPersonalMessageRequest |
build(Map<String,?> map) |
String |
getContent() |
String |
getMsgType() |
String |
getOpenConversationId() |
String |
getReceiverUserId() |
SendPersonalMessageRequest |
setContent(String content) |
SendPersonalMessageRequest |
setMsgType(String msgType) |
SendPersonalMessageRequest |
setOpenConversationId(String openConversationId) |
SendPersonalMessageRequest |
setReceiverUserId(String receiverUserId) |
@NameInMap(value="content") public String content
This parameter is required.
example:{"content":"月会通知<@all> ","at":{"atUserIds":[],"isAtAll":true}}
@NameInMap(value="msgType") public String msgType
This parameter is required.
example:text
@NameInMap(value="openConversationId") public String openConversationId
cidc4iLyQBuHFQRvzxznz204Q==
@NameInMap(value="receiverUserId") public String receiverUserId
1662055829854977
public static SendPersonalMessageRequest build(Map<String,?> map) throws Exception
Exceptionpublic SendPersonalMessageRequest setContent(String content)
public String getContent()
public SendPersonalMessageRequest setMsgType(String msgType)
public String getMsgType()
public SendPersonalMessageRequest setOpenConversationId(String openConversationId)
public String getOpenConversationId()
public SendPersonalMessageRequest setReceiverUserId(String receiverUserId)
public String getReceiverUserId()
Copyright © 2025. All rights reserved.