sendMessage

public final Unit sendMessage(SendMessageParams params, SendMessageHandler handler)

Sends a non-media message in this channel (e.g., text, location).

Note: Cannot send more than 5 messages per second.

Parameters

params

Send message parameters containing the message and optional push config

handler

Callback for tracking the message sending lifecycle