ExStreamClient.Operations.Chat.Moderation (ExStreamClient v0.1.7)
View SourceModules for interacting with the chat/moderation
group of Stream APIs
API Reference: https://getstream.github.io/protocol/?urls.primaryName=Chat%20v2
Shared options
All functions in this module accept the following optional parameters:
api_key
- API key to use. If not provided, the default key from config will be usedapi_key_secret
- API key secret to use. If not provided, the default secret from config will be usedendpoint
- endpoint to use. If not provided, the default endpoint from config will be usedclient
- HTTP client to use. Must implementExStreamClient.Http.Behavior
. Defaults toExStreamClient.Http
req_opts
- all of these options will be forwarded to req. SeeReq.new/1
for available options
Summary
Types
Functions
@spec mute_channel(ExStreamClient.Model.MuteChannelRequest.t(), shared_opts()) :: {:ok, ExStreamClient.Model.MuteChannelResponse.t()} | {:error, any()}
Mutes channel for user
Sends events:
channel.muted
channel.muted
Required Arguments:
Optional Arguments:
- All options from Shared Options are supported.
@spec query_message_flags([ {:payload, ExStreamClient.Model.QueryMessageFlagsPayload.t()} | shared_opts() ]) :: {:ok, ExStreamClient.Model.QueryMessageFlagsResponse.t()} | {:error, any()}
Find and filter message flags
Optional Arguments:
payload
:Elixir.ExStreamClient.Model.QueryMessageFlagsPayload
- All options from Shared Options are supported.
@spec unmute_channel(ExStreamClient.Model.UnmuteChannelRequest.t(), shared_opts()) :: {:ok, ExStreamClient.Model.UnmuteResponse.t()} | {:error, any()}
Unmutes channel for user
Sends events:
channel.unmuted
channel.unmuted
Required Arguments:
Optional Arguments:
- All options from Shared Options are supported.