Skip to content

Commit 18975f0

Browse files
Add personPublicUrl to inbox polling
1 parent 9210736 commit 18975f0

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@linkedapi/node",
3-
"version": "2.3.10",
3+
"version": "2.3.11",
44
"description": "Control your LinkedIn accounts and retrieve real-time data, all through this Node.js SDK.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/types/actions/message.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ export interface TInboxMessage {
8484
type: TConversationType;
8585
threadId: string;
8686
personUrn: string | null;
87+
personHashedUrl: string;
88+
personPublicUrl: string | null;
89+
/** @deprecated Use `personHashedUrl`. Still returned by the API for compatibility. */
8790
personUrl: string;
8891
sender: TMessageSender;
8992
text: string;

src/types/webhooks.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ export interface TInboxMessageWebhookEvent extends TWebhookEventBase {
9393
type: TConversationType;
9494
threadId: string;
9595
personUrn: string | null;
96+
personHashedUrl: string;
97+
personPublicUrl: string | null;
98+
/** @deprecated Use `personHashedUrl`. Still returned by the API for compatibility. */
9699
personUrl: string;
97100
messageId: string;
98101
sender: TMessageSender;

0 commit comments

Comments
 (0)