Skip to content

Retrieve messages for selected chat #3

@jay13jay

Description

@jay13jay

query API to get messages from the API

  • should send user.id and chat.id
  • should receive a paginated object containing JSON objects
    {"page N":
    {
    "id": uuid.UUID // the message uuid
    "created_at": datetime. // creation time
    "updated_at": datetime. // message edit time, if applicable
    "deleted_at": datetime. // message rm time, if applicable - allows un-delete of message for a certain timeframe
    "content": string // message contents
    "user_id": uuid.UUID // user ID of message sender
    "user": User // user object of sender
    "chat_id: uuid.UUID // chat ID message belongs to
    }
    }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions