Hi @Manu Y ,
We can retrieve the list of messages (without the replies) in a channel of a team using below Graph API Endpoint GET /teams/{team-id}/channels/{channel-id}/messages
Reference Document: https://learn.microsoft.com/en-us/graph/api/channel-list-messages?view=graph-rest-1.0&tabs=http
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.