Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/linq/types/attachment_create_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ class AttachmentCreateResponse(BaseModel):
"""Presigned URL for uploading the file.

PUT the raw binary file content to this URL with the `required_headers`. Do not
JSON-encode or multipart-wrap the body. Expires after 15 minutes.
JSON-encode or multipart-wrap the body. Expires after 15 minutes. Treat the URL
as opaque — the hostname depends on partner configuration and is the same across
sandbox and production.
"""
7 changes: 4 additions & 3 deletions src/linq/types/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ class HealthStatus(BaseModel):
part of a longer one: `STOP` counts, `please stop` does not. Most keywords must
match exactly, including case. `OPT OUT` is the exception — it matches in any
casing, with or without the space or a hyphen, so `opt out`, `Opt-Out` and
`optout` all count. It clears if they later send `START`, `OPTIN`, or `UNSTOP`,
or if they keep replying on the chat — sustained two-way conversation is treated
as a sign the stop keyword was a false positive.
`optout` all count. It clears if they later send `START`, `OPTIN`, or `UNSTOP` —
these match in any casing — or if they keep replying — replies in any
conversation with you count, the same way the block does — since sustained
two-way conversation is treated as a sign the stop keyword was a false positive.

Linq enforces this: while a recipient is opted out, every send to them is
rejected with `403` (error code `2024`) before the message is queued, across
Expand Down
7 changes: 4 additions & 3 deletions src/linq/types/chat_create_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ class ChatHealthStatus(BaseModel):
part of a longer one: `STOP` counts, `please stop` does not. Most keywords must
match exactly, including case. `OPT OUT` is the exception — it matches in any
casing, with or without the space or a hyphen, so `opt out`, `Opt-Out` and
`optout` all count. It clears if they later send `START`, `OPTIN`, or `UNSTOP`,
or if they keep replying on the chat — sustained two-way conversation is treated
as a sign the stop keyword was a false positive.
`optout` all count. It clears if they later send `START`, `OPTIN`, or `UNSTOP` —
these match in any casing — or if they keep replying — replies in any
conversation with you count, the same way the block does — since sustained
two-way conversation is treated as a sign the stop keyword was a false positive.

Linq enforces this: while a recipient is opted out, every send to them is
rejected with `403` (error code `2024`) before the message is queued, across
Expand Down
7 changes: 4 additions & 3 deletions src/linq/types/chat_created_webhook_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ class DataHealthStatus(BaseModel):
part of a longer one: `STOP` counts, `please stop` does not. Most keywords must
match exactly, including case. `OPT OUT` is the exception — it matches in any
casing, with or without the space or a hyphen, so `opt out`, `Opt-Out` and
`optout` all count. It clears if they later send `START`, `OPTIN`, or `UNSTOP`,
or if they keep replying on the chat — sustained two-way conversation is treated
as a sign the stop keyword was a false positive.
`optout` all count. It clears if they later send `START`, `OPTIN`, or `UNSTOP` —
these match in any casing — or if they keep replying — replies in any
conversation with you count, the same way the block does — since sustained
two-way conversation is treated as a sign the stop keyword was a false positive.

Linq enforces this: while a recipient is opted out, every send to them is
rejected with `403` (error code `2024`) before the message is queued, across
Expand Down
7 changes: 4 additions & 3 deletions src/linq/types/message_edited_webhook_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ class DataChatHealthStatus(BaseModel):
part of a longer one: `STOP` counts, `please stop` does not. Most keywords must
match exactly, including case. `OPT OUT` is the exception — it matches in any
casing, with or without the space or a hyphen, so `opt out`, `Opt-Out` and
`optout` all count. It clears if they later send `START`, `OPTIN`, or `UNSTOP`,
or if they keep replying on the chat — sustained two-way conversation is treated
as a sign the stop keyword was a false positive.
`optout` all count. It clears if they later send `START`, `OPTIN`, or `UNSTOP` —
these match in any casing — or if they keep replying — replies in any
conversation with you count, the same way the block does — since sustained
two-way conversation is treated as a sign the stop keyword was a false positive.

Linq enforces this: while a recipient is opted out, every send to them is
rejected with `403` (error code `2024`) before the message is queued, across
Expand Down
7 changes: 4 additions & 3 deletions src/linq/types/message_event_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ class ChatHealthStatus(BaseModel):
part of a longer one: `STOP` counts, `please stop` does not. Most keywords must
match exactly, including case. `OPT OUT` is the exception — it matches in any
casing, with or without the space or a hyphen, so `opt out`, `Opt-Out` and
`optout` all count. It clears if they later send `START`, `OPTIN`, or `UNSTOP`,
or if they keep replying on the chat — sustained two-way conversation is treated
as a sign the stop keyword was a false positive.
`optout` all count. It clears if they later send `START`, `OPTIN`, or `UNSTOP` —
these match in any casing — or if they keep replying — replies in any
conversation with you count, the same way the block does — since sustained
two-way conversation is treated as a sign the stop keyword was a false positive.

Linq enforces this: while a recipient is opted out, every send to them is
rejected with `403` (error code `2024`) before the message is queued, across
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading