Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions lib/GetStream/StreamChat/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,17 @@ public function queryBannedUsers(array $filterConditions, array $options = []):
return $this->get("query_banned_users", ["payload" => json_encode($options)]);
}

/** Queries future channel bans.
* Future channel bans are automatically applied when a user creates a new channel
* or adds a member to an existing channel.
* @link https://getstream.io/chat/docs/php/moderation/?language=php
* @throws StreamException
*/
public function queryFutureChannelBans(array $options = []): StreamResponse
{
return $this->get("query_future_channel_bans", ["payload" => json_encode($options)]);
}

/** Gets multiple messages.
* @link https://getstream.io/chat/docs/php/send_message/?language=php#get-a-message
* @throws StreamException
Expand Down