Skip to content

feat: add guild messages search endpoint#1564

Closed
Sim-hu wants to merge 1 commit intobrainboxdotcc:masterfrom
Sim-hu:feat/search-guild-messages
Closed

feat: add guild messages search endpoint#1564
Sim-hu wants to merge 1 commit intobrainboxdotcc:masterfrom
Sim-hu:feat/search-guild-messages

Conversation

@Sim-hu
Copy link

@Sim-hu Sim-hu commented Mar 26, 2026

Summary

Implements the Search Guild Messages endpoint (GET /guilds/{guild.id}/messages/search).

  • Adds message_search_params struct with all query parameters from the API spec
  • Adds message_search_result struct for the response (including nested message arrays)
  • Adds guild_messages_search() and coroutine wrapper co_guild_messages_search()
  • Enums for has, sort_by, and sort_order filter values

Closes #1563

Implement the Search Guild Messages endpoint (GET /guilds/{guild.id}/messages/search)
as described in the Discord API documentation, resolving brainboxdotcc#1563.

Adds message_search_params struct for query parameters, message_search_result struct
for the response, and guild_messages_search method on the cluster with coroutine support.
@github-actions
Copy link
Contributor

Thank you for your contribution, but PRs must be raised against the dev branch. Please log your pull request against the dev branch not master. You can also retarget this pull request, then reopen it.

@github-actions github-actions bot closed this Mar 26, 2026
@github-actions github-actions bot added documentation Improvements or additions to documentation code Improvements or additions to code. labels Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code Improvements or additions to code. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Search guild messages endpoint

1 participant