Appearance
Curl SDK - Chat API
About 430 wordsAbout 1 min
Comprehensive code examples for the Stream chat curl SDK.
Quick Navigation
- Chat (56 methods)
- Common (43 methods)
- Moderation (12 methods)
- Types Reference - interfaces for API requests/responses
Overview
This documentation covers 111 API methods across 3 categories.
Installation
See SDK documentation for installation instructions.
Basic Setup
See SDK documentation for setup instructions.
Categories
Chat
QueryChannels()- Access a list of communication channels available in your account, facilitating efficient management and selection for your campaigns.DeleteChannels()- Asynchronously remove specific channels from your account, helping you maintain an organized and relevant channel list without immediate blocking.MarkDelivered()- Update the delivery status of messages sent through a channel, ensuring accurate tracking and reporting of message delivery outcomes.MarkChannelsRead()- Mark all messages in selected channels as read, allowing you to streamline communication management and reduce notification clutter.GetOrCreateDistinctChannel()- Retrieve an existing channel or create a new one based on unique identifiers, simplifying the process of managing distinct communication threads.- ... and 51 more methods
Common
GetApp()- Retrieve the current application settings to understand or verify the configuration. Use this method when you need to view the existing app settings without making changes.ListBlockLists()- Get a list of all existing block lists to review or manage them. Use this method when you need an overview of current block lists.CreateBlockList()- Create a new block list to restrict certain content or users as per your criteria. Use this method when setting up a new block list for moderation or content control.UpdateBlockList()- Modify an existing block list to add or remove entries as needed. Use this method when updating the criteria or contents of a block list.DeleteBlockList()- Remove a specific block list that is no longer needed. Use this method when you want to delete a block list to stop enforcing its restrictions.- ... and 38 more methods
Moderation
appeal()- Submit a request to challenge a moderation decision if you believe it was incorrect or unfair, helping to ensure accurate content moderation.get_appeal()- Retrieve details of a specific appeal you have submitted, allowing you to track the status and outcome of the appeal process.query_appeals()- Search and list submitted appeals based on specific criteria, enabling you to manage and review multiple appeals efficiently.ban()- Use this method to prohibit a user from accessing your service due to violations, ensuring a safe and respectful environment.upsert_config()- Create a new or update an existing moderation policy configuration to tailor content review processes to your specific needs.- ... and 7 more methods
Generated from Stream OpenAPI specification