messages
Edit message
Edit the text and/or reply markup of a previously sent Telegram message. Only supported for Telegram. Returns 400 for other platforms.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
conversationIdstring
The conversation ID
messageIdstring
The Telegram message ID to edit
accountIdstring
Social account ID
text?string
New message text
replyMarkup?
New inline keyboard markup
Response Body
application/json
application/json
curl -X PATCH "https://getlate.dev/api/v1/inbox/conversations/string/messages/string" \ -H "Content-Type: application/json" \ -d '{ "accountId": "string" }'{
"success": true,
"data": {
"messageId": 0
}
}Empty
{
"error": "Unauthorized"
}Empty