Skip to main content

Message type - Text

Enables sending simple text messages to the recipient.

//, message)
// This section focuses on customization parameters for 'message' object
const aliceMessagesBob = await, {
type: 'Text',
content: 'Hello Bob!',

Customization parameters‚Äč

When sending a message, you can customize the following params

recipientstring--Recipient supports a number of address format including wallet address, chain agnostic wallet address, NFT addresses or even chatid which is useful in groups
messageobject--Configuration for message to be sent
-message.typeTextTextType of message content
-message.contentstring-Pass plain text in the message content

Note: Parameters in this style are mandatory.