Channels

Get channel message by id

Changed on
get/v1/messages/by_id

Request

Query parameters

internal_idstring required

The internal ID of the channel you want to retrieve messages from.

message_idinteger required

Message id

Response

Channel message

peer_idstring required

Chanel or Group internal id

message_idinteger required

Telegram message id

datestring date-time required

Message publish date

is_adboolean nullable

Telemetr.io decide message as ad.

viewsinteger required

Message views count

forwardsinteger required

Message forwards count.

Private or public, counted by Telegram

commentsinteger required

Message comments count

deleted_atstring date-time nullable

Message deletion date.

If empty message is not deleted.

textstring required

Message text without markup

grouped_idinteger nullable

Album message, album has same grouped_id

edit_datestring date-time nullable

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added subschema #2 to the response body allOf list for the response status

    • info

      added subschema #2 to the response body allOf list for the response status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status