Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds the new history API #414

Merged
merged 2 commits into from
Jan 28, 2024
Merged

Adds the new history API #414

merged 2 commits into from
Jan 28, 2024

Commits on Nov 22, 2023

  1. Adds the new history API

    The history api allows to retrieve any number of messages stored in a channel.
    As the number of messages that can be returned in a single response is limited
    by the size of a response (as per #413), a system of pagination is required.
    This system is implemented with the introduction of the StartFromID query
    parameter. An client that already received a response with a certain number of
    messages can send a new request to the API with the StartFromID set to the ID
    of the oldest message it received (first in the array). The storage query will
    then begin to retrieve messages starting at the ID preceding the ID provided in
    the query, to generate the next page of messages.
    Florimond committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    a11ef40 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. Configuration menu
    Copy the full SHA
    b6a5ef8 View commit details
    Browse the repository at this point in the history