Prerequisites

To get the most out of this guide, you should have the following:

1. Install the SDK

2. Send your first message

send.py
from rcs import (
    Pinnacle,
    RCSBasicMessage,
    Action
)

pinn = Pinnacle(
    api_key=YOUR_API_KEY,
    webhook_url=YOUR_WEBHOOK_URL,
)

message = RCSBasicMessage("Hello, this is a test message!").with_quick_replies(
    [
        Action(
            title="URL",
        ).weburl("https://example.com"),
        Action(
            title="Call",
        ).call("+18008888888"),
        Action(
            title="Payload",
        ).postback("payload", "payload_value"),
        Action(
            title="Share Location",
        ).shareLocation()
    ]
)

pinn.send(
    message,
    YOUR_RECIPIENT_NUMBER,
)

Send more messages ❤️

See the variety of messages you can send with the rcs SDK here.

See an example

Python Example

See the full example of sending a message using the rcs SDK.