Skip to content

Commit 4ce63d8

Browse files
authored
feat: Added client.getProfileStatus function (#2364)
1 parent 2641000 commit 4ce63d8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/api/layers/profile.layer.ts

+8
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ export class ProfileLayer extends StatusLayer {
8181
);
8282
}
8383

84+
/**
85+
* Gets current user profile status
86+
* @category Profile
87+
*/
88+
public getProfileStatus() {
89+
return evaluateAndReturn(this.page, () => WPP.profile.getMyStatus());
90+
}
91+
8492
/**
8593
* Sets the user's current profile photo
8694
* @category Profile

0 commit comments

Comments
 (0)