Skip to content

feat: add channel first message endpoint - #294

Open
yashkhare0 wants to merge 1 commit into
mainfrom
feat/channel-first-message
Open

feat: add channel first message endpoint#294
yashkhare0 wants to merge 1 commit into
mainfrom
feat/channel-first-message

Conversation

@yashkhare0

Copy link
Copy Markdown
Collaborator

Adds GET /api/channels/:channelId/first-message — retrieves the earliest message in a channel.

  • Returns sender info, content, timestamp
  • 404 if channel empty or not found
  • 3 new tests

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant