public class GetMsgRecordRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
GetMsgRecordRequest() |
GetMsgRecordRequest(GetMsgRecordRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getBotAppKey()
Get 应用AppKey, 当Type=5[API访客]时, 该字段必填 : 获取方式: 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
|
Long |
getCount()
Get 数量, 数量需大于2, 最大1000
|
String |
getLastRecordId()
Get 最后一条记录ID, 消息从后往前获取
MidRecordId与LastRecordId只能选择一个
|
String |
getMidRecordId()
Get 传该值,代表拉取该记录id的前后总共count条消息记录
MidRecordId与LastRecordId只能选择一个
|
Long |
getScene()
Get 场景, 体验: 1; 正式: 2
|
String |
getSessionId()
Get 会话sessionid
|
Long |
getType()
Get 类型
|
void |
setBotAppKey(String BotAppKey)
Set 应用AppKey, 当Type=5[API访客]时, 该字段必填 : 获取方式: 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
|
void |
setCount(Long Count)
Set 数量, 数量需大于2, 最大1000
|
void |
setLastRecordId(String LastRecordId)
Set 最后一条记录ID, 消息从后往前获取
MidRecordId与LastRecordId只能选择一个
|
void |
setMidRecordId(String MidRecordId)
Set 传该值,代表拉取该记录id的前后总共count条消息记录
MidRecordId与LastRecordId只能选择一个
|
void |
setScene(Long Scene)
Set 场景, 体验: 1; 正式: 2
|
void |
setSessionId(String SessionId)
Set 会话sessionid
|
void |
setType(Long Type)
Set 类型
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public GetMsgRecordRequest()
public GetMsgRecordRequest(GetMsgRecordRequest source)
public Long getType()
public void setType(Long Type)
Type
- 类型public Long getCount()
public void setCount(Long Count)
Count
- 数量, 数量需大于2, 最大1000public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- 会话sessionidpublic String getBotAppKey()
public void setBotAppKey(String BotAppKey)
BotAppKey
- 应用AppKey, 当Type=5[API访客]时, 该字段必填 : 获取方式: 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项public Long getScene()
public void setScene(Long Scene)
Scene
- 场景, 体验: 1; 正式: 2public String getLastRecordId()
public void setLastRecordId(String LastRecordId)
LastRecordId
- 最后一条记录ID, 消息从后往前获取
MidRecordId与LastRecordId只能选择一个public String getMidRecordId()
public void setMidRecordId(String MidRecordId)
MidRecordId
- 传该值,代表拉取该记录id的前后总共count条消息记录
MidRecordId与LastRecordId只能选择一个Copyright © 2025. All rights reserved.