Simla icon

Simla

Consume Simla API

Actions10

Message → Send

AI-generated

Summary

Send a message to a specified chat via the Simla API.

Inputs

  • chatId (required) — The ID of the chat where the message will be sent.
  • messageData — Contains the properties of the message, including its visibility (scope) and the actual content.

Output shape

a single record containing the result of the send operation

Expects valid message data; handles both public and private message scopes.

Examples

Example 1: Sending a public message to a chat

Set the chatId parameter to the desired chat's ID and provide message content with scope set to 'public'.

Example 2: Sending a private message

Set the chatId parameter and provide message content with scope set to 'private'.

Discussion