diff --git a/docs/godot/channels.mdx b/docs/godot/channels.mdx index 32e624f..143c507 100644 --- a/docs/godot/channels.mdx +++ b/docs/godot/channels.mdx @@ -50,6 +50,17 @@ options.prop_value = "157" var res := await Talo.channels.get_channels(options) ``` +### Searching for channels + +You can search for channels by name or owner identifier using the `search` option: + +```gdscript +var options := Talo.channels.GetChannelsOptions.new() +options.page = 0 +options.search = "search term" +var res := await Talo.channels.get_channels(options) +``` + ## Listing subscribed channels diff --git a/docs/unity/channels.mdx b/docs/unity/channels.mdx index e776192..67d874a 100644 --- a/docs/unity/channels.mdx +++ b/docs/unity/channels.mdx @@ -50,6 +50,15 @@ var options = new GetChannelsOptions() { page = page, propKey = "guildId", propV var res = await Talo.Channels.GetChannels(options) ``` +### Searching for channels + +You can search for channels by name or owner identifier using the `search` option: + +```csharp +var options = new GetChannelsOptions() { page = page, search = "search term" } +var res = await Talo.Channels.GetChannels(options) +``` + ## Listing subscribed channels