-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #253 from JauneQ/main
docs: update new parameter for v3.8.3
- Loading branch information
Showing
6 changed files
with
250 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
--- | ||
sidebar_position: 2 | ||
toc_min_heading_level: 2 | ||
toc_max_heading_level: 2 | ||
--- | ||
|
||
# ViewType | ||
|
||
:::info | ||
|
||
在[获取会话历史消息](docs/sdks/api/message/getAdvancedHistoryMessageList.mdx)与[反向获取会话历史消息](docs/sdks/api/message/getAdvancedHistoryMessageListReverse.mdx)时,客户端用于通知SDK当前的具体操作。 | ||
|
||
::: | ||
|
||
## 当前操作类型 | ||
|
||
| 枚举值 | 描述 | | ||
| ------ | ----------- | | ||
| 0 | 拉取历史消息 | | ||
| 1 | 搜索历史消息 | | ||
|
||
<Tabs | ||
groupId="sdks-language" | ||
values={[ | ||
{ label: 'iOS', value: 'iOS', }, | ||
{ label: 'Android', value: 'Android', }, | ||
{ label: 'Flutter', value: 'Flutter', }, | ||
{ label: 'uni-app', value: 'uni-app', }, | ||
{ label: 'Browser/Electron/MiniProgram', value: 'Web', }, | ||
{ label: 'React-Native', value: 'React-Native', }, | ||
{ label: 'Unity', value: 'Unity', }, | ||
] | ||
}> | ||
|
||
<TabItem value="iOS"> | ||
|
||
### ViewType | ||
|
||
| 枚举值名称 | 枚举值 | | ||
| ---------- | ------ | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Flutter"> | ||
|
||
### ViewType | ||
|
||
| 枚举值名称 | 枚举值 | | ||
| --------- | ------ | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Web"> | ||
|
||
### ViewType | ||
|
||
| 枚举值名称 | 枚举值 | | ||
| --------- | ------ | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
<TabItem value="Android"> | ||
|
||
### ViewType | ||
|
||
| 枚举值名称 | 枚举值 | | ||
| --------- | ------ | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
<TabItem value="uni-app"> | ||
|
||
### ViewType | ||
|
||
| 枚举值名称 | 枚举值 | | ||
| --------- | ------ | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
<TabItem value="React-Native"> | ||
### ViewType | ||
|
||
| 枚举值名称 | 枚举值 | | ||
| --------- | ------ | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Unity"> | ||
### ViewType | ||
|
||
| 枚举值名称 | 枚举值 | | ||
| --------- | ------ | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
</Tabs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
111 changes: 111 additions & 0 deletions
111
i18n/en/docusaurus-plugin-content-docs-sdks/current/enum/viewType.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
--- | ||
sidebar_position: 2 | ||
toc_min_heading_level: 2 | ||
toc_max_heading_level: 2 | ||
--- | ||
|
||
# ViewType | ||
|
||
:::info | ||
|
||
When use the api of [getAdvancedHistoryMessageList](/api/message/getAdvancedHistoryMessageList.mdx) or [getAdvancedHistoryMessageListReverse](/api/message/getAdvancedHistoryMessageListReverse.mdx), used to notify the SDK of the current specific operation. | ||
|
||
::: | ||
|
||
## Type of operation about get message list | ||
|
||
| Enum Value | Description | | ||
| ---------- | ------------------------------------- | | ||
| 0 | used for getting historical message | | ||
| 1 | used for searching message | | ||
|
||
<Tabs | ||
groupId="sdks-language" | ||
values={[ | ||
{ label: 'iOS', value: 'iOS', }, | ||
{ label: 'Android', value: 'Android', }, | ||
{ label: 'Flutter', value: 'Flutter', }, | ||
{ label: 'uni-app', value: 'uni-app', }, | ||
{ label: 'Browser/Electron/MiniProgram', value: 'Web', }, | ||
{ label: 'React-Native', value: 'React-Native', }, | ||
{ label: 'Unity', value: 'Unity', }, | ||
] | ||
}> | ||
|
||
<TabItem value="iOS"> | ||
|
||
### ViewType | ||
|
||
| Enum Name | Enum Value | | ||
| --------- | ---------- | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Flutter"> | ||
|
||
### ViewType | ||
|
||
| Enum Name | Enum Value | | ||
| --------- | ---------- | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Web"> | ||
|
||
### ViewType | ||
|
||
| Enum Name | Enum Value | | ||
| --------- | ---------- | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
<TabItem value="Android"> | ||
|
||
### ViewType | ||
|
||
| Enum Name | Enum Value | | ||
| --------- | ---------- | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
<TabItem value="uni-app"> | ||
|
||
### ViewType | ||
|
||
| Enum Name | Enum Value | | ||
| --------- | ---------- | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
<TabItem value="React-Native"> | ||
|
||
### ViewType | ||
|
||
| Enum Name | Enum Value | | ||
| --------- | ---------- | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Unity"> | ||
|
||
### ViewType | ||
|
||
| Enum Name | Enum Value | | ||
| --------- | ---------- | | ||
| History | 0 | | ||
| Search | 1 | | ||
|
||
</TabItem> | ||
|
||
</Tabs> |