Skip to main content
POST
Edit a Telegram message you sent

Authorizations

Authorization
string
header
required

Dairo API key, e.g. dairo_test_... or dairo_live_...

Path Parameters

messageId
string
required

The Dairo outbound message id (a telegram send) to edit.

Body

application/json

Edit a Telegram message you sent: exactly one of text or html, plus an optional replacement inline keyboard.

text
string

New plain-text body. Mutually exclusive with html.

html
string

New rich-HTML body. Mutually exclusive with text.

buttons
object[][]

Optional replacement inline keyboard (rows of buttons). Pass [] to clear the keyboard. Callback buttons show a feedback toast on tap (default: ✓ + the button label; set alert:true for a modal).

Response

Success

The result of a Telegram message action (edit/react/unreact).

object
string
id
string

The message id acted on.

channel
string
edited
boolean
editedAt
string
reacted
boolean
emoji
string
big
boolean