Skip to content

Commit

Permalink
fix: Fixed doc on userMutingUsers
Browse files Browse the repository at this point in the history
  • Loading branch information
alkihis committed Nov 24, 2021
1 parent 7a3c41e commit 4e76834
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -801,16 +801,17 @@ Get to know how [paginators work here](./paginators.md).
**Right level**: `Read-only`

**Arguments**:
- `loggedUserId: string`: Logged user (you) ID
- `options?: UserV2TimelineParams`

**Returns**: `UserMutingUsersV2Paginator`

**Example**
```ts
const mutedPaginator = await client.v2.userMutingUsers();
const mutedPaginator = await client.v2.userMutingUsers('14');

for await (const mutedUser of mutedPaginator) {
console.log(`You are blocking @${mutedUser.username}.`);
console.log(`You are muting @${mutedUser.username}.`);
}
```

Expand Down

0 comments on commit 4e76834

Please sign in to comment.