Skip to content

Commit 0224eae

Browse files
docs: update advanced-imessage-ts documentation for v0.11.2 (#81)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ba9a3a1 commit 0224eae

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

docs-src/advanced-kits/imessage/locations.mdx.vel

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Send a visible Find My request card in an existing direct or group chat:
3636
```ts
3737
const receipt = await im.locations.request(chat.guid, "alice@example.com");
3838

39-
console.log(receipt.requestStatus, receipt.messageGuid);
39+
console.log(receipt.status, receipt.messageGuid);
4040
```
4141

4242
Inputs:
@@ -56,8 +56,7 @@ The returned receipt includes:
5656
| Field | Meaning |
5757
|---|---|
5858
| `address` | The normalized email address or E.164 phone number that was requested |
59-
| `requested` | Whether the server sent or accepted a request operation |
60-
| `requestStatus` | Server status for the request operation |
59+
| `status` | Server status for the request operation |
6160
| `reason` | Optional reason when the request was not sent or needs explanation |
6261
| `messageGuid` | Message GUID for the request card, when a card was created |
6362

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"devDependencies": {
1515
"@antfu/eslint-config": "^4.19.0",
16-
"@photon-ai/advanced-imessage": "^0.11.0",
16+
"@photon-ai/advanced-imessage": "^0.11.2",
1717
"@photon-ai/advanced-imessage-kit": "^1.14.3",
1818
"@photon-ai/imessage-kit": "^2.1.2",
1919
"@photon-ai/whatsapp-business": "^0.1.1",

pnpm-lock.yaml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)