Skip to content

Commit 48a4f74

Browse files
committed
add service default logic
1 parent cef25cf commit 48a4f74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

advanced-kits/imessage/messages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ await im.messages.send(chat, "Hello!", {
4040
| `audioMessage` | `boolean` | Send attachment as an audio message |
4141
| `sticker` | `{ attachment: AttachmentGuid; target: MessageGuid; placement?: StickerPlacement }` | Send as a sticker on another message |
4242
| `formatting` | `TextFormatInput[]` | Bold, italic, underline, or text effects |
43-
| `service` | `"iMessage" \| "SMS" \| "RCS"` | Override service |
43+
| `service` | `"iMessage" \| "SMS" \| "RCS"` | Override service (default: tries iMessage first, then RCS, then falls back to SMS) |
4444
| `clientMessageId` | `string` | Idempotency key |
4545
| `ddScan` | `boolean` | Enable data detectors scan |
4646
| `richLink` | `boolean` | Expand URLs to rich link previews |

0 commit comments

Comments
 (0)