Skip to content

Commit 02813a5

Browse files
committed
refactor: update Web3 Messaging guide for clarity and consistency
1 parent 9c88c74 commit 02813a5

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

src/guides/use-iapp/web3-messaging.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,37 @@ description:
77

88
# Integrate Web3 Messaging
99

10-
This guide covers both Web3Mail (email) and Web3Telegram (Telegram). The flow is
11-
the same, except that:
10+
This guide covers both Web3Mail (email) and Web3Telegram (Telegram) toolkit. The
11+
flow is the same, except that:
1212

1313
- For Web3Mail, you only need the user's email address.
14-
- For Web3Telegram, you must first retrieve the user's Telegram Chat ID.
14+
- For Web3Telegram, you only need the user's Telegram Chat ID.
1515

1616
## Overview
1717

18-
1. (Telegram only) Retrieve the Chat ID from the iExec bot
19-
2. Create the `protectedData` using DataProtector
20-
3. Grant access with DataProtector
21-
4. Send the message using the relevant SDK
18+
1. (Telegram only) Get a Chat ID from the iExec bot
19+
2. Create the Protected Data using DataProtector Toolkit
20+
3. Grant access of your Protected Data
21+
4. Send the message using the relevant SDK ( Web3Mail / Web3Telegram )
2222

23-
## 1. Retrieve the Telegram Chat ID (Telegram only) {#retrieve-chat-id}
23+
## 1. Retrieve the Telegram Chat ID (Telegram only)
2424

2525
Ask the recipient to open Telegram and start a conversation with
2626
[@IExecWeb3TelegramBot](https://t.me/IExecWeb3TelegramBot). The bot replies with
27-
their unique Chat ID.
27+
a unique Chat ID.
2828

29-
:::: tip
29+
::: tip
3030

3131
- Once the Chat ID is protected, all messages will arrive within this bot
3232
conversation.
3333
- The recipient can leave the conversation at any time to stop receiving
34-
messages. ::::
34+
messages.
35+
36+
:::
3537

3638
## 2. Create the Protected Data
3739

38-
Protect the identifier using DataProtector Core.
40+
Protect the email address or Chat ID using DataProtector Core.
3941

4042
### Web3Mail — protect the email address
4143

0 commit comments

Comments
 (0)