Groups
get/v1/messages/group

Request

Query parameters

internal_idstring required

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

from_dateinteger

An optional UTC timestamp specifying the minimum date of messages to retrieve.

Messages sent before this date will be excluded.

to_dateinteger

An optional UTC timestamp specifying the maximum date of messages to retrieve.

Messages sent after this date will be excluded.

short_infoboolean

A boolean flag indicating whether to include basic information about the channels or groups mentioned in the messages.

If set to true, the response will include an array of ChatShort objects containing details about the source group, forwarded channel (if applicable), and any Giveaway channels mentioned.

cursorstring

An optional cursor string used for pagination.

This is typically obtained from the cursor field in the response of a previous message retrieval request for the same group.

Response

Group messages

cursorstring nullable

Next page cursor

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