Messages

Set your Telegram reactions on a message

Replaces the authenticated actor's current reaction selection for the target message. Pass an empty array to clear reactions.

put/v1/chats/{chat_id}/messages/{message_id}/reactions

Request

  • Base URL: https://api.entergram.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.entergram.com/v1/chats/{chat_id}/messages/{message_id}/reactions
  • Auth: API key in header X-API-Key

Path parameters

chat_idstring required

Canonical Telegram chat identifier.

Example:-1000001234567
message_idinteger required

Telegram message identifier within the chat.

Example:123456

Request body

accountIdstring required

Connected account id from the accounts endpoint.

reactionsstring[] nullable required

Full replacement list of reactions to set on the message. Use emoji like 👍 or a custom emoji document id string. Pass an empty array to clear your reactions.

Example request

{
  "accountId": "acct_demo_123",
  "reactions": [
    "👍"
  ]
}

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.