Type Parameters
- M extends boolean = boolean
Constructors
Properties
Optional
profile
Methods
follow
- follow(): Promise<void>
Returns Promise<void>
getId
- getId(): Promise<string>
Returns Promise<string>
用户 ID
getScreenName
- getScreenName(): Promise<string>
Returns Promise<string>
用户昵称
getUsername
- getUsername(): Promise<string>
Returns Promise<string>
用户名
isFollowing
- isFollowing(
user: string | JikeUser<boolean>,
mode: "following" | "auto" | "follower",
): Promise<boolean> Parameters
- user: string | JikeUser<boolean>
- mode: "following" | "auto" | "follower"
Returns Promise<boolean>
mute
- mute(): Promise<void>
Returns Promise<void>
queryFollowings
- queryFollowings(option?: PaginatedOption<User, never, string>): Promise<User[]>
Returns Promise<User[]>
queryProfile
- queryProfile(ignoreCache?: boolean): Promise<ApiResponses.Users.Profile<M>>
Parameters
- ignoreCache: boolean = false
unfollow
- unfollow(option?: UserUnfollowOption): Promise<void>
Returns Promise<void>
unmute
- unmute(): Promise<void>
Returns Promise<void>
是否为自己