Skip to content

Commit 135458d

Browse files
James RobertsonJames Robertson
authored andcommitted
0.0.15
1 parent f8f663c commit 135458d

27 files changed

+6127
-3608
lines changed

.openapi-generator/FILES

Lines changed: 12 additions & 304 deletions
Large diffs are not rendered by default.

docs/Api/AnnouncementApi.md

Lines changed: 274 additions & 36 deletions
Large diffs are not rendered by default.

docs/Api/ApplicationApi.md

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ Method | HTTP request | Description
99
[**addHmsPushConfiguration()**](ApplicationApi.md#addHmsPushConfiguration) | **POST** /v3/applications/push/hms | Add an HMS push configuration
1010
[**addIpToWhitelist()**](ApplicationApi.md#addIpToWhitelist) | **PUT** /v3/applications/settings/ip_whitelist | Add an IP to a whitelist
1111
[**banUsersInChannelsWithCustomChannelType()**](ApplicationApi.md#banUsersInChannelsWithCustomChannelType) | **POST** /v3/applications/settings_by_channel_custom_type/{custom_type}/ban | Ban users in channels with a custom channel type
12+
[**configureAutoEventMessages()**](ApplicationApi.md#configureAutoEventMessages) | **PUT** /v3/applications/settings/auto_event_message | Configure auto event message settings
1213
[**deleteAllowedIpsFromWhitelist()**](ApplicationApi.md#deleteAllowedIpsFromWhitelist) | **DELETE** /v3/applications/settings/ip_whitelist | Delete allowed IPs from a whitelist
1314
[**deleteApnsCertificateById()**](ApplicationApi.md#deleteApnsCertificateById) | **DELETE** /v3/applications/push/apns/cert/{provider_id} | Delete an APNs certificate
1415
[**generateSecondaryApiToken()**](ApplicationApi.md#generateSecondaryApiToken) | **POST** /v3/applications/api_tokens | Generate a secondary API token
16+
[**listAutoEventMessages()**](ApplicationApi.md#listAutoEventMessages) | **GET** /v3/applications/settings/auto_event_message | List auto event messages
1517
[**listBannedUsersInChannelsWithCustomChannelType()**](ApplicationApi.md#listBannedUsersInChannelsWithCustomChannelType) | **GET** /v3/applications/settings_by_channel_custom_type/{custom_type}/ban | List banned users in channels with a custom channel type
1618
[**listMutedUsersInChannelsWithCustomChannelType()**](ApplicationApi.md#listMutedUsersInChannelsWithCustomChannelType) | **GET** /v3/applications/settings_by_channel_custom_type/{custom_type}/mute | List muted users in channels with a custom channel type
1719
[**listPushConfigurations()**](ApplicationApi.md#listPushConfigurations) | **GET** /v3/applications/push/{push_type} | List push configurations
@@ -327,6 +329,64 @@ No authorization required
327329
[[Back to Model list]](../../README.md#models)
328330
[[Back to README]](../../README.md)
329331

332+
## `configureAutoEventMessages()`
333+
334+
```php
335+
configureAutoEventMessages($api_token, $configure_auto_event_data): \Sendbird\Model\SendBirdAutoEventMessageSettings
336+
```
337+
338+
Configure auto event message settings
339+
340+
## Configure auto event message settings Determines whether to automatically send event messages to group channels when events take place in an application. You can choose which auto event message to receive on the Sendbird Dashboard https://sendbird.com/docs/chat/v3/platform-api/application/managing-auto-event-messages/configure-auto-event-message-settings ----------------------------
341+
342+
### Example
343+
344+
```php
345+
<?php
346+
require_once(__DIR__ . '/vendor/autoload.php');
347+
348+
349+
350+
$apiInstance = new Sendbird\Api\ApplicationApi(
351+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
352+
// This is optional, `GuzzleHttp\Client` will be used as default.
353+
new GuzzleHttp\Client()
354+
);
355+
$api_token = {{API_TOKEN}}; // string
356+
$configure_auto_event_data = new \Sendbird\Model\ConfigureAutoEventData(); // \Sendbird\Model\ConfigureAutoEventData
357+
358+
try {
359+
$result = $apiInstance->configureAutoEventMessages($api_token, $configure_auto_event_data);
360+
print_r($result);
361+
} catch (Exception $e) {
362+
echo 'Exception when calling ApplicationApi->configureAutoEventMessages: ', $e->getMessage(), PHP_EOL;
363+
}
364+
```
365+
366+
### Parameters
367+
368+
Name | Type | Description | Notes
369+
------------- | ------------- | ------------- | -------------
370+
**api_token** | **string**| |
371+
**configure_auto_event_data** | [**\Sendbird\Model\ConfigureAutoEventData**](../Model/ConfigureAutoEventData.md)| | [optional]
372+
373+
### Return type
374+
375+
[**\Sendbird\Model\SendBirdAutoEventMessageSettings**](../Model/SendBirdAutoEventMessageSettings.md)
376+
377+
### Authorization
378+
379+
No authorization required
380+
381+
### HTTP request headers
382+
383+
- **Content-Type**: `application/json`
384+
- **Accept**: `application/json`
385+
386+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
387+
[[Back to Model list]](../../README.md#models)
388+
[[Back to README]](../../README.md)
389+
330390
## `deleteAllowedIpsFromWhitelist()`
331391

332392
```php
@@ -501,6 +561,62 @@ No authorization required
501561
[[Back to Model list]](../../README.md#models)
502562
[[Back to README]](../../README.md)
503563

564+
## `listAutoEventMessages()`
565+
566+
```php
567+
listAutoEventMessages($api_token): \Sendbird\Model\SendBirdAutoEventMessageSettings
568+
```
569+
570+
List auto event messages
571+
572+
## List auto event messages Retrieves a list of auto event messages that are sent in a specified application and indicates which ones are in use. Auto event messages are Admin messages that are automatically generated when a specific event occurs. https://sendbird.com/docs/chat/v3/platform-api/application/managing-auto-event-messages/list-auto-event-messages ----------------------------
573+
574+
### Example
575+
576+
```php
577+
<?php
578+
require_once(__DIR__ . '/vendor/autoload.php');
579+
580+
581+
582+
$apiInstance = new Sendbird\Api\ApplicationApi(
583+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
584+
// This is optional, `GuzzleHttp\Client` will be used as default.
585+
new GuzzleHttp\Client()
586+
);
587+
$api_token = {{API_TOKEN}}; // string
588+
589+
try {
590+
$result = $apiInstance->listAutoEventMessages($api_token);
591+
print_r($result);
592+
} catch (Exception $e) {
593+
echo 'Exception when calling ApplicationApi->listAutoEventMessages: ', $e->getMessage(), PHP_EOL;
594+
}
595+
```
596+
597+
### Parameters
598+
599+
Name | Type | Description | Notes
600+
------------- | ------------- | ------------- | -------------
601+
**api_token** | **string**| |
602+
603+
### Return type
604+
605+
[**\Sendbird\Model\SendBirdAutoEventMessageSettings**](../Model/SendBirdAutoEventMessageSettings.md)
606+
607+
### Authorization
608+
609+
No authorization required
610+
611+
### HTTP request headers
612+
613+
- **Content-Type**: Not defined
614+
- **Accept**: `application/json`
615+
616+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
617+
[[Back to Model list]](../../README.md#models)
618+
[[Back to README]](../../README.md)
619+
504620
## `listBannedUsersInChannelsWithCustomChannelType()`
505621

506622
```php

0 commit comments

Comments
 (0)