Repository navigation
Scope RCS sends over Relay to plain text - #987
Devon-White wants to merge 1 commit into
Conversation
The Relay client in the Server SDKs takes only body and media, so it can't send rich RCS content, and RCS rejects media.
|
Thanks Devon. The technical scoping is right, and dropping "the same way" fixes a real overclaim. I checked the Server SDK packages and the referenced source code. In both SDKs the Relay client sends 1. Frame the Relay scope by what it does.
This also drops "RCS rejects 2. Say that the messaging rules still apply over Relay. The old sentence said "the rules and errors on this page apply". The new one drops that, so nothing tells a Relay reader that the rules in 3. Split the paragraph. Lines 18-21 hold two unrelated jobs, sending over Relay and replying from SWML. The PR rewrites this paragraph, so it's a good time to give the "Reply with SWML" sentence its own line. The 4. Follow-up: the SDK reference now disagrees with this page. This PR doesn't introduce the mismatch, but the new link sends readers straight into it. The
The "SMS/MMS Messaging" section of 5. PR description. The repo is public. The "Platform (verified in internal source; behavior only)" block describes how internal services are built and pass requests between them, along with internal test coverage, an internal ship date, and an internal error string. Please edit the description to keep the conclusions, such as "a Relay send accepts an RCS agent ID as the sender, and the REST RCS rules apply to it", and drop the internals. The public SDK anchors and the linked SDK issues are fine to keep. |
Closes #961
Summary
Send RCS messagesno longer says the Relay SDK sends RCS "the same way" as REST. That implied richcontentworks over Relay. The sentence now says the Relay client in the Server SDKs can send plain-text RCS (agent ID as the sender, plus abody), that it doesn't acceptcontent, that RCS rejectsmedia, and that rich content and media need the REST API.overview,onboarding,receive-messages) and the RCS mentions insend-and-receive-messagesmake no claim about sending rich content over Relay. No change needed.Source anchors
Server SDKs (public,
main):signalwire/relay/client.pysend_message(around line 576): takesto_number,from_number,context,body,media,tags,region. There's nocontentparameter.mediais passed through tomessaging.sendunchanged.src/relay/RelayClient.tssendMessage(around line 778): same options and the same pass-through ofmedia. There's nocontent.Platform (verified in internal source; behavior only):
messaging.sendparams to the messaging backend unchanged.from_numberroutes the message over RCS. The Relay path and the REST create-message endpoint share one set of RCS rules. Backend tests cover an RCS agent ID as the Relay sender. This shipped on 2026-11-04.mediais rejected ("is not supported for RCS messages"), the same check REST applies.Notes for reviewers
contenton the Relay path. The SDKs are the only gap, tracked in Relaysend_messagecannot send RCS rich content (content) signalwire-python#198 and RelaysendMessagecannot send RCS rich content (content) signalwire-typescript#250. When they ship, the sentence can say rich content works over Relay too.400result listing field messages, without the REST error code strings such asrcs_media_not_supported. The page's error codes are REST-specific. I didn't add this distinction to the page.Verification
yarn fern-md-checkpasses./docs/server-sdks/guides/relay-clientmatchesslug: guides/relay-client, and#reply-with-swmlmatches## Reply with SWMLinreceive-messages.mdx.Preview:
/docs/platform/messaging/rcs/send-messages