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 Application AppKey. 
 | 
Long | 
getCount()
Get Quantity. 
 | 
String | 
getLastRecordId()
Get Last record ID. 
 | 
String | 
getMidRecordId()
Get If this value is input, it means pulling a total of count message records before and after the record ID. 
 | 
Long | 
getScene()
Get Scenario, experience: 1; formal: 2. 
 | 
String | 
getSessionId()
Get Session ID. 
 | 
Long | 
getType()
Get Type. 
 | 
void | 
setBotAppKey(String BotAppKey)
Set Application AppKey. 
 | 
void | 
setCount(Long Count)
Set Quantity. 
 | 
void | 
setLastRecordId(String LastRecordId)
Set Last record ID. 
 | 
void | 
setMidRecordId(String MidRecordId)
Set If this value is input, it means pulling a total of count message records before and after the record ID. 
 | 
void | 
setScene(Long Scene)
Set Scenario, experience: 1; formal: 2. 
 | 
void | 
setSessionId(String SessionId)
Set Session ID. 
 | 
void | 
setType(Long Type)
Set Type. 
 | 
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, toJsonStringpublic GetMsgRecordRequest()
public GetMsgRecordRequest(GetMsgRecordRequest source)
public Long getType()
public void setType(Long Type)
Type - Type.public Long getCount()
public void setCount(Long Count)
Count - Quantity.public String getSessionId()
public void setSessionId(String SessionId)
SessionId - Session ID.public String getBotAppKey()
public void setBotAppKey(String BotAppKey)
BotAppKey - Application AppKey. When Type=5 [API Visitor], this field is required.  How to obtain it:  1. After the application is released, obtain it at [Application Page]-[Release Management]-[Call Information]-[API Management].  2. Refer to item 2 in https://cloud.tencent.com/document/product/1759/109469.public Long getScene()
public void setScene(Long Scene)
Scene - Scenario, experience: 1; formal: 2.public String getLastRecordId()
public void setLastRecordId(String LastRecordId)
LastRecordId - Last record ID. Retrieve messages in reverse order. You can only select either MidRecordId or LastRecordId.public String getMidRecordId()
public void setMidRecordId(String MidRecordId)
MidRecordId - If this value is input, it means pulling a total of count message records before and after the record ID. You can only select either MidRecordId or LastRecordId.Copyright © 2025. All rights reserved.