Skip to content

Commit 2cc3972

Browse files
Add personPublicUrl to inbox polling
1 parent 5673fa8 commit 2cc3972

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

linkedapi/types/message.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ class InboxMessage(LinkedApiModel):
9797
type: ConversationType | None = None
9898
thread_id: str | None = None
9999
person_urn: str | None = None
100+
person_hashed_url: str | None = None
101+
person_public_url: str | None = None
102+
# Deprecated: use person_hashed_url. Still returned by the API for compatibility.
100103
person_url: str | None = None
101104
sender: MessageSender | None = None
102105
text: str | None = None

linkedapi/types/webhooks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ class MessageWebhookEventData(LinkedApiModel):
102102
type: ConversationType | None = None
103103
thread_id: str | None = None
104104
person_urn: str | None = None
105+
person_hashed_url: str | None = None
106+
person_public_url: str | None = None
107+
# Deprecated: use person_hashed_url. Still returned by the API for compatibility.
105108
person_url: str | None = None
106109
message_id: str | None = None
107110
sender: MessageSender | None = None

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "linkedapi"
7-
version = "1.3.9"
7+
version = "1.3.10"
88
description = "Official synchronous Python SDK for Linked API."
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)