Skip to content

Commit

Permalink
Merge pull request #386 from haoxiuwen/doc-v2
Browse files Browse the repository at this point in the history
Modify IM Docs
  • Loading branch information
haoxiuwen authored Aug 11, 2023
2 parents d42abe5 + 90bf44f commit 095305e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/document/android/group_manage.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ do {

```java
// 异步方法。同步方法为 getJoinedGroupsFromServer(int, int, boolean, boolean)。
// pageIndex:当前页码,从 1 开始。
// pageSize:每页期望返回的群组数。取值范围为[1,50]。
// pageIndex:当前页码,从 0 开始。
// pageSize:每页期望返回的群组数。取值范围为[1,20]。
List<EMGroup> grouplist = EMClient.getInstance().groupManager().asyncGetJoinedGroupsFromServer(pageIndex, pageSize, needMemberCount, needRole, new EMValueCallBack<List<EMGroup>>() {
@Override
public void onSuccess(List<EMGroup> value) {
Expand Down
4 changes: 2 additions & 2 deletions docs/document/react-native/group_manage.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ ChatClient.getInstance()
用户可以调用 `fetchJoinedGroupsFromServer` 方法从服务器获取自己加入和创建的群组列表。示例代码如下:

```typescript
// pageNum:当前页码,从 1 开始。
// pageSize:每页期望返回的群组数量,取值范围为[1,50]。
// pageNum:当前页码,从 0 开始。
// pageSize:每页期望返回的群组数量,取值范围为[1,20]。
const pageSize = 10;
// 当前页码
const pageNum = 1;
Expand Down

0 comments on commit 095305e

Please sign in to comment.