From 9d62b704b9aeeacd1f4d3900a4c923fc368f42f5 Mon Sep 17 00:00:00 2001
From: danney-chun <63285271+danney-chun@users.noreply.github.com>
Date: Fri, 17 Oct 2025 08:30:35 +0900
Subject: [PATCH 01/10] 2.1.1
---
.openapi-generator-ignore | 1 +
.openapi-generator/FILES | 27 +-
README.md | 7 +-
README.md-e | 143 -
api/openapi.yaml | 2919 +++++++----------
build.gradle | 2 +-
build.sbt | 2 +-
docs/BotApi.md | 302 +-
docs/CreateABotResponse.md | 2 +-
docs/CreateABotResponseBotStyle.md | 16 -
docs/GetAGroupChannelResponse.md | 2 +-
docs/InviteAsMembersResponse.md | 2 +-
docs/ListBotsResponseBotsInner.md | 1 -
docs/ListBotsResponseBotsInnerAi.md | 24 -
docs/MessageApi.md | 24 +-
docs/ModerationApi.md | 8 +-
docs/SendABotMessageRequest.md | 22 -
docs/SendABotMessageResponse.md | 13 +
docs/SendAMessageRequest.md | 91 +-
.../SendAMessageRequestPushMessageTemplate.md | 39 +
...MessageRequestPushMessageTemplateOneOf.md} | 2 +-
docs/SendBirdGroupChannel.md | 2 +-
docs/SendBirdMessageResponse.md | 4 +-
docs/SendBirdUser.md | 1 -
...xtMessageRequestBodyPushMessageTemplate.md | 16 +-
docs/SendbirdGroupChannelLastMessage.md | 28 +
...rdMessageResponseExtendedMessagePayload.md | 28 +
docs/UpdateBotByIdData.md | 20 +
docs/UpdateBotByIdResponse.md | 18 +
docs/ViewBotByIdResponse.md | 18 +
docs/ViewBotByIdResponseBot.md | 18 +
pom.xml | 2 +-
.../client/model/AbstractOpenApiSchema.java | 2 +-
.../model/AcceptAnInvitationRequest.java | 43 +-
.../AddARegistrationOrDeviceTokenRequest.java | 2 +-
...AddARegistrationOrDeviceTokenResponse.java | 2 +-
.../model/AddExtraDataToAMessageRequest.java | 2 +-
.../model/AddExtraDataToAMessageResponse.java | 2 +-
.../client/model/BlockAUserRequest.java | 2 +-
.../client/model/BlockAUserResponse.java | 2 +-
.../client/model/CheckIfMemberResponse.java | 2 +-
...ushNotificationContentTemplateRequest.java | 2 +-
...shNotificationContentTemplateResponse.java | 2 +-
.../client/model/CreateABotRequest.java | 2 +-
.../client/model/CreateABotResponse.java | 12 +-
.../client/model/CreateABotResponseBot.java | 2 +-
.../model/CreateABotResponseBotStyle.java | 233 --
.../model/CreateAChannelMetadataRequest.java | 4 +-
.../model/CreateAChannelMetadataResponse.java | 2 +-
.../model/CreateAGroupChannelRequest.java | 67 +-
.../client/model/CreateAUserRequest.java | 81 +-
.../model/CreateAnOpenChannelRequest.java | 2 +-
.../client/model/CreateUserTokenRequest.java | 2 +-
.../client/model/CreateUserTokenResponse.java | 2 +-
.../model/FreezeAGroupChannelRequest.java | 2 +-
.../model/FreezeAnOpenChannelRequest.java | 2 +-
.../model/GetAGroupChannelResponse.java | 104 +-
.../model/GetAGroupChannelResponseAllOf.java | 2 +-
...etChannelInvitationPreferenceResponse.java | 2 +-
...talNumberOfMessagesInAChannelResponse.java | 2 +-
.../GroupChannelListMembersResponse.java | 2 +-
.../model/GroupChatListChannelsResponse.java | 2 +-
.../client/model/HideAChannelRequest.java | 2 +-
.../client/model/InviteAsMembersRequest.java | 2 +-
.../client/model/InviteAsMembersResponse.java | 104 +-
.../model/InviteAsMembersResponseAllOf.java | 2 +-
.../client/model/JoinAChannelRequest.java | 43 +-
.../client/model/JoinChannelsRequest.java | 2 +-
.../client/model/LeaveAChannelRequest.java | 2 +-
.../model/LeaveMyGroupChannelsRequest.java | 2 +-
.../model/ListBlockedUsersResponse.java | 2 +-
.../client/model/ListBotsResponse.java | 2 +-
.../model/ListBotsResponseBotsInner.java | 39 +-
.../model/ListBotsResponseBotsInnerAi.java | 489 ---
.../model/ListBotsResponseBotsInnerBot.java | 2 +-
.../ListBotsResponseBotsInnerBotStyle.java | 2 +-
...istBotsResponseBotsInnerBotStyleColor.java | 2 +-
...tsResponseBotsInnerFirstMessagesInner.java | 2 +-
...sponseBotsInnerFirstMessagesInnerData.java | 2 +-
.../ListBotsResponseBotsInnerSafeguard.java | 2 +-
.../client/model/ListMessagesResponse.java | 2 +-
.../model/ListMyGroupChannelsResponse.java | 2 +-
.../model/ListOpenChannelsResponse.java | 2 +-
.../client/model/ListOperatorsResponse.java | 2 +-
...istRegistrationOrDeviceTokensResponse.java | 2 +-
.../client/model/ListUsersResponse.java | 2 +-
.../model/MarkAllMessagesAsReadRequest.java | 2 +-
.../MarkChannelMessagesAsReadRequest.java | 2 +-
.../MigrateMessagesAdminMessageRequest.java | 2 +-
.../MigrateMessagesFileMessageRequest.java | 2 +-
...agesFileMessageRequestThumbnailsInner.java | 2 +-
.../client/model/MigrateMessagesRequest.java | 2 +-
.../MigrateMessagesRequestMessagesInner.java | 2 +-
.../MigrateMessagesTextMessageRequest.java | 2 +-
...gisterOperatorsToAGroupChannelRequest.java | 2 +-
...oveARegistrationOrDeviceTokenResponse.java | 2 +-
...eAllRegistrationOrDeviceTokenResponse.java | 2 +-
.../client/model/ResetChatHistoryRequest.java | 2 +-
.../model/ResetChatHistoryResponse.java | 2 +-
.../model/ScheduleAnAnnouncementRequest.java | 2 +-
...nouncementRequestCreateChannelOptions.java | 2 +-
.../ScheduleAnAnnouncementRequestMessage.java | 2 +-
.../model/ScheduleAnAnnouncementResponse.java | 2 +-
...ScheduleAnAnnouncementResponseMessage.java | 2 +-
.../client/model/SendABotMessageRequest.java | 412 ---
.../client/model/SendABotMessageResponse.java | 114 +
.../client/model/SendAMessageRequest.java | 1187 +++++--
...endAMessageRequestPushMessageTemplate.java | 251 ++
...ssageRequestPushMessageTemplateOneOf.java} | 28 +-
.../model/SendAdminMessageRequestBody.java | 2 +-
.../client/model/SendBirdFile.java | 2 +-
.../client/model/SendBirdGroupChannel.java | 104 +-
.../client/model/SendBirdMember.java | 54 +-
.../client/model/SendBirdMessageResponse.java | 20 +-
.../client/model/SendBirdOpenChannel.java | 43 +-
.../model/SendBirdParentMessageInfo.java | 43 +-
.../client/model/SendBirdReaction.java | 2 +-
.../client/model/SendBirdUser.java | 166 +-
.../model/SendFileMessageRequestBody.java | 2 +-
.../model/SendTextMessageRequestBody.java | 2 +-
...MessageRequestBodyPushMessageTemplate.java | 46 +-
.../client/model/SendbirdBasicUserInfo.java | 69 +-
.../model/SendbirdDisappearingMessage.java | 2 +-
.../model/SendbirdExtendedMessagePayload.java | 2 +-
.../model/SendbirdGroupChannelDetail.java | 43 +-
.../SendbirdGroupChannelDetailChannel.java | 2 +-
.../SendbirdGroupChannelLastMessage.java | 215 ++
...MessageResponseExtendedMessagePayload.java | 204 ++
.../SendbirdMessageResponseMessageEvents.java | 2 +-
.../client/model/SendbirdSmsFallback.java | 2 +-
.../model/SendbirdSortedMetaarrayInner.java | 2 +-
.../client/model/SendbirdThumbnail.java | 2 +-
.../model/StartTypingIndicatorsRequest.java | 2 +-
.../model/UpdateAChannelMetadataRequest.java | 4 +-
.../model/UpdateAGroupChannelRequest.java | 43 +-
.../client/model/UpdateAMessageRequest.java | 2 +-
.../client/model/UpdateAUserRequest.java | 135 +-
.../model/UpdateAnOpenChannelRequest.java | 2 +-
.../client/model/UpdateBotByIdData.java | 337 ++
.../client/model/UpdateBotByIdResponse.java | 274 ++
...ateChannelInvitationPreferenceRequest.java | 2 +-
...teChannelInvitationPreferenceResponse.java | 2 +-
...pdateCountPreferenceOfAChannelRequest.java | 2 +-
...CountPreferenceOfChannelByUrlResponse.java | 2 +-
.../UpdateExtraDataInAMessageRequest.java | 2 +-
.../UpdateExtraDataInAMessageResponse.java | 2 +-
...datePushPreferencesForAChannelRequest.java | 2 +-
...atePushPreferencesForAChannelResponse.java | 2 +-
.../model/UpdatePushPreferencesRequest.java | 2 +-
.../model/UpdatePushPreferencesResponse.java | 2 +-
.../client/model/ViewBotByIdResponse.java | 274 ++
.../client/model/ViewBotByIdResponseBot.java | 273 ++
...ViewCountPreferenceOfAChannelResponse.java | 2 +-
...rOfChannelsWithUnreadMessagesResponse.java | 2 +-
.../ViewNumberOfDailyActiveUsersResponse.java | 2 +-
...iewNumberOfMonthlyActiveUsersResponse.java | 2 +-
.../ViewNumberOfUnreadMessagesResponse.java | 2 +-
...iewPushPreferencesForAChannelResponse.java | 2 +-
.../model/ViewPushPreferencesResponse.java | 2 +-
.../java/org/sendbird/client/ApiClient.java | 4 +-
.../org/sendbird/client/ApiException.java | 2 +-
.../org/sendbird/client/Configuration.java | 2 +-
src/main/java/org/sendbird/client/JSON.java | 2 +-
src/main/java/org/sendbird/client/JSON.java-e | 249 --
.../sendbird/client/JavaTimeFormatter.java | 2 +-
src/main/java/org/sendbird/client/Pair.java | 2 +-
.../java/org/sendbird/client/StringUtil.java | 2 +-
.../sendbird/client/api/AnnouncementApi.java | 2 +-
.../java/org/sendbird/client/api/BotApi.java | 643 +++-
.../sendbird/client/api/GroupChannelApi.java | 2 +-
.../org/sendbird/client/api/MessageApi.java | 50 +-
.../org/sendbird/client/api/MetadataApi.java | 2 +-
.../sendbird/client/api/ModerationApi.java | 4 +-
.../sendbird/client/api/OpenChannelApi.java | 2 +-
.../sendbird/client/api/StatisticsApi.java | 2 +-
.../java/org/sendbird/client/api/UserApi.java | 2 +-
.../org/sendbird/client/auth/ApiKeyAuth.java | 2 +-
.../sendbird/client/auth/HttpBasicAuth.java | 2 +-
.../sendbird/client/auth/HttpBearerAuth.java | 2 +-
.../model/AcceptAnInvitationRequestTest.java | 4 +
.../client/model/CreateABotResponseTest.java | 2 +-
.../model/CreateAGroupChannelRequestTest.java | 4 +
.../client/model/CreateAUserRequestTest.java | 4 +
.../model/GetAGroupChannelResponseTest.java | 2 +-
.../model/InviteAsMembersResponseTest.java | 2 +-
.../client/model/JoinAChannelRequestTest.java | 4 +
.../ListBotsResponseBotsInnerAiTest.java | 143 -
.../model/ListBotsResponseBotsInnerTest.java | 9 -
.../model/SendABotMessageRequestTest.java | 125 -
.../model/SendABotMessageResponseTest.java | 51 +
...eRequestPushMessageTemplateOneOfTest.java} | 12 +-
...MessageRequestPushMessageTemplateTest.java | 59 +
.../client/model/SendAMessageRequestTest.java | 163 +-
.../model/SendBirdGroupChannelTest.java | 2 +-
.../model/SendBirdMessageResponseTest.java | 2 +-
.../client/model/SendBirdOpenChannelTest.java | 4 +
.../model/SendBirdParentMessageInfoTest.java | 4 -
.../client/model/SendBirdUserTest.java | 8 -
...ageRequestBodyPushMessageTemplateTest.java | 2 +-
.../model/SendbirdBasicUserInfoTest.java | 4 +
.../model/SendbirdGroupChannelDetailTest.java | 5 -
.../SendbirdGroupChannelLastMessageTest.java | 296 ++
...ageResponseExtendedMessagePayloadTest.java | 61 +
.../model/UpdateAGroupChannelRequestTest.java | 4 +
.../client/model/UpdateAUserRequestTest.java | 4 +
.../client/model/UpdateBotByIdDataTest.java | 106 +
.../model/UpdateBotByIdResponseTest.java | 91 +
...t.java => ViewBotByIdResponseBotTest.java} | 57 +-
.../client/model/ViewBotByIdResponseTest.java | 91 +
...wNumberOfDailyActiveUsersResponseTest.java | 1 -
...umberOfMonthlyActiveUsersResponseTest.java | 1 -
.../org/sendbird/client/api/BotApiTest.java | 109 +-
.../client/api/GroupChannelApiTest.java | 12 -
.../sendbird/client/api/MessageApiTest.java | 17 +-
.../sendbird/client/api/MetadataApiTest.java | 3 +-
.../client/api/ModerationApiTest.java | 2 +-
.../org/sendbird/client/api/UserApiTest.java | 24 +-
217 files changed, 7237 insertions(+), 4785 deletions(-)
delete mode 100644 README.md-e
delete mode 100644 docs/CreateABotResponseBotStyle.md
delete mode 100644 docs/ListBotsResponseBotsInnerAi.md
delete mode 100644 docs/SendABotMessageRequest.md
create mode 100644 docs/SendABotMessageResponse.md
create mode 100644 docs/SendAMessageRequestPushMessageTemplate.md
rename docs/{SendTextMessageRequestBodyPushMessageTemplateOneOf.md => SendAMessageRequestPushMessageTemplateOneOf.md} (94%)
create mode 100644 docs/SendbirdGroupChannelLastMessage.md
create mode 100644 docs/SendbirdMessageResponseExtendedMessagePayload.md
create mode 100644 docs/UpdateBotByIdData.md
create mode 100644 docs/UpdateBotByIdResponse.md
create mode 100644 docs/ViewBotByIdResponse.md
create mode 100644 docs/ViewBotByIdResponseBot.md
delete mode 100644 src/main/java/org/openapitools/client/model/CreateABotResponseBotStyle.java
delete mode 100644 src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerAi.java
delete mode 100644 src/main/java/org/openapitools/client/model/SendABotMessageRequest.java
create mode 100644 src/main/java/org/openapitools/client/model/SendABotMessageResponse.java
create mode 100644 src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java
rename src/main/java/org/openapitools/client/model/{SendTextMessageRequestBodyPushMessageTemplateOneOf.java => SendAMessageRequestPushMessageTemplateOneOf.java} (78%)
create mode 100644 src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java
create mode 100644 src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java
create mode 100644 src/main/java/org/openapitools/client/model/UpdateBotByIdData.java
create mode 100644 src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java
create mode 100644 src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java
create mode 100644 src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java
delete mode 100644 src/main/java/org/sendbird/client/JSON.java-e
delete mode 100644 src/test/java/org/openapitools/client/model/ListBotsResponseBotsInnerAiTest.java
delete mode 100644 src/test/java/org/openapitools/client/model/SendABotMessageRequestTest.java
create mode 100644 src/test/java/org/openapitools/client/model/SendABotMessageResponseTest.java
rename src/test/java/org/openapitools/client/model/{SendTextMessageRequestBodyPushMessageTemplateOneOfTest.java => SendAMessageRequestPushMessageTemplateOneOfTest.java} (73%)
create mode 100644 src/test/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateTest.java
create mode 100644 src/test/java/org/openapitools/client/model/SendbirdGroupChannelLastMessageTest.java
create mode 100644 src/test/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayloadTest.java
create mode 100644 src/test/java/org/openapitools/client/model/UpdateBotByIdDataTest.java
create mode 100644 src/test/java/org/openapitools/client/model/UpdateBotByIdResponseTest.java
rename src/test/java/org/openapitools/client/model/{CreateABotResponseBotStyleTest.java => ViewBotByIdResponseBotTest.java} (54%)
create mode 100644 src/test/java/org/openapitools/client/model/ViewBotByIdResponseTest.java
diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore
index 7484ee59..40a5ed1c 100644
--- a/.openapi-generator-ignore
+++ b/.openapi-generator-ignore
@@ -21,3 +21,4 @@
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
+README.md
diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index f3310757..3d993c71 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -1,7 +1,6 @@
.github/workflows/maven.yml
.gitignore
.travis.yml
-README.md
api/openapi.yaml
build.gradle
build.sbt
@@ -20,7 +19,6 @@ docs/ChooseAPushNotificationContentTemplateResponse.md
docs/CreateABotRequest.md
docs/CreateABotResponse.md
docs/CreateABotResponseBot.md
-docs/CreateABotResponseBotStyle.md
docs/CreateAChannelMetadataRequest.md
docs/CreateAChannelMetadataResponse.md
docs/CreateAGroupChannelRequest.md
@@ -48,7 +46,6 @@ docs/LeaveMyGroupChannelsRequest.md
docs/ListBlockedUsersResponse.md
docs/ListBotsResponse.md
docs/ListBotsResponseBotsInner.md
-docs/ListBotsResponseBotsInnerAi.md
docs/ListBotsResponseBotsInnerBot.md
docs/ListBotsResponseBotsInnerBotStyle.md
docs/ListBotsResponseBotsInnerBotStyleColor.md
@@ -83,13 +80,14 @@ docs/ScheduleAnAnnouncementRequestCreateChannelOptions.md
docs/ScheduleAnAnnouncementRequestMessage.md
docs/ScheduleAnAnnouncementResponse.md
docs/ScheduleAnAnnouncementResponseMessage.md
-docs/SendABotMessageRequest.md
+docs/SendABotMessageResponse.md
docs/SendAMessageRequest.md
+docs/SendAMessageRequestPushMessageTemplate.md
+docs/SendAMessageRequestPushMessageTemplateOneOf.md
docs/SendAdminMessageRequestBody.md
docs/SendFileMessageRequestBody.md
docs/SendTextMessageRequestBody.md
docs/SendTextMessageRequestBodyPushMessageTemplate.md
-docs/SendTextMessageRequestBodyPushMessageTemplateOneOf.md
docs/SendbirdBasicUserInfo.md
docs/SendbirdDisappearingMessage.md
docs/SendbirdExtendedMessagePayload.md
@@ -97,8 +95,10 @@ docs/SendbirdFile.md
docs/SendbirdGroupChannel.md
docs/SendbirdGroupChannelDetail.md
docs/SendbirdGroupChannelDetailChannel.md
+docs/SendbirdGroupChannelLastMessage.md
docs/SendbirdMember.md
docs/SendbirdMessageResponse.md
+docs/SendbirdMessageResponseExtendedMessagePayload.md
docs/SendbirdMessageResponseMessageEvents.md
docs/SendbirdOpenChannel.md
docs/SendbirdParentMessageInfo.md
@@ -115,6 +115,8 @@ docs/UpdateAGroupChannelRequest.md
docs/UpdateAMessageRequest.md
docs/UpdateAUserRequest.md
docs/UpdateAnOpenChannelRequest.md
+docs/UpdateBotByIdData.md
+docs/UpdateBotByIdResponse.md
docs/UpdateChannelInvitationPreferenceRequest.md
docs/UpdateChannelInvitationPreferenceResponse.md
docs/UpdateCountPreferenceOfAChannelRequest.md
@@ -126,6 +128,8 @@ docs/UpdatePushPreferencesForAChannelResponse.md
docs/UpdatePushPreferencesRequest.md
docs/UpdatePushPreferencesResponse.md
docs/UserApi.md
+docs/ViewBotByIdResponse.md
+docs/ViewBotByIdResponseBot.md
docs/ViewCountPreferenceOfAChannelResponse.md
docs/ViewNumberOfChannelsWithUnreadMessagesResponse.md
docs/ViewNumberOfDailyActiveUsersResponse.md
@@ -156,7 +160,6 @@ src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTempla
src/main/java/org/openapitools/client/model/CreateABotRequest.java
src/main/java/org/openapitools/client/model/CreateABotResponse.java
src/main/java/org/openapitools/client/model/CreateABotResponseBot.java
-src/main/java/org/openapitools/client/model/CreateABotResponseBotStyle.java
src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java
src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java
src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java
@@ -183,7 +186,6 @@ src/main/java/org/openapitools/client/model/LeaveMyGroupChannelsRequest.java
src/main/java/org/openapitools/client/model/ListBlockedUsersResponse.java
src/main/java/org/openapitools/client/model/ListBotsResponse.java
src/main/java/org/openapitools/client/model/ListBotsResponseBotsInner.java
-src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerAi.java
src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBot.java
src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyle.java
src/main/java/org/openapitools/client/model/ListBotsResponseBotsInnerBotStyleColor.java
@@ -214,13 +216,14 @@ src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestCreateC
src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementRequestMessage.java
src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponse.java
src/main/java/org/openapitools/client/model/ScheduleAnAnnouncementResponseMessage.java
-src/main/java/org/openapitools/client/model/SendABotMessageRequest.java
+src/main/java/org/openapitools/client/model/SendABotMessageResponse.java
src/main/java/org/openapitools/client/model/SendAMessageRequest.java
+src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplate.java
+src/main/java/org/openapitools/client/model/SendAMessageRequestPushMessageTemplateOneOf.java
src/main/java/org/openapitools/client/model/SendAdminMessageRequestBody.java
src/main/java/org/openapitools/client/model/SendFileMessageRequestBody.java
src/main/java/org/openapitools/client/model/SendTextMessageRequestBody.java
src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplate.java
-src/main/java/org/openapitools/client/model/SendTextMessageRequestBodyPushMessageTemplateOneOf.java
src/main/java/org/openapitools/client/model/SendbirdBasicUserInfo.java
src/main/java/org/openapitools/client/model/SendbirdDisappearingMessage.java
src/main/java/org/openapitools/client/model/SendbirdExtendedMessagePayload.java
@@ -228,8 +231,10 @@ src/main/java/org/openapitools/client/model/SendbirdFile.java
src/main/java/org/openapitools/client/model/SendbirdGroupChannel.java
src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetail.java
src/main/java/org/openapitools/client/model/SendbirdGroupChannelDetailChannel.java
+src/main/java/org/openapitools/client/model/SendbirdGroupChannelLastMessage.java
src/main/java/org/openapitools/client/model/SendbirdMember.java
src/main/java/org/openapitools/client/model/SendbirdMessageResponse.java
+src/main/java/org/openapitools/client/model/SendbirdMessageResponseExtendedMessagePayload.java
src/main/java/org/openapitools/client/model/SendbirdMessageResponseMessageEvents.java
src/main/java/org/openapitools/client/model/SendbirdOpenChannel.java
src/main/java/org/openapitools/client/model/SendbirdParentMessageInfo.java
@@ -245,6 +250,8 @@ src/main/java/org/openapitools/client/model/UpdateAGroupChannelRequest.java
src/main/java/org/openapitools/client/model/UpdateAMessageRequest.java
src/main/java/org/openapitools/client/model/UpdateAUserRequest.java
src/main/java/org/openapitools/client/model/UpdateAnOpenChannelRequest.java
+src/main/java/org/openapitools/client/model/UpdateBotByIdData.java
+src/main/java/org/openapitools/client/model/UpdateBotByIdResponse.java
src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceRequest.java
src/main/java/org/openapitools/client/model/UpdateChannelInvitationPreferenceResponse.java
src/main/java/org/openapitools/client/model/UpdateCountPreferenceOfAChannelRequest.java
@@ -255,6 +262,8 @@ src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelRequ
src/main/java/org/openapitools/client/model/UpdatePushPreferencesForAChannelResponse.java
src/main/java/org/openapitools/client/model/UpdatePushPreferencesRequest.java
src/main/java/org/openapitools/client/model/UpdatePushPreferencesResponse.java
+src/main/java/org/openapitools/client/model/ViewBotByIdResponse.java
+src/main/java/org/openapitools/client/model/ViewBotByIdResponseBot.java
src/main/java/org/openapitools/client/model/ViewCountPreferenceOfAChannelResponse.java
src/main/java/org/openapitools/client/model/ViewNumberOfChannelsWithUnreadMessagesResponse.java
src/main/java/org/openapitools/client/model/ViewNumberOfDailyActiveUsersResponse.java
diff --git a/README.md b/README.md
index 3755cee5..4c35df23 100644
--- a/README.md
+++ b/README.md
@@ -98,7 +98,7 @@ Add these dependency to your project's POM:
org.sendbird
sendbird-platform-sdk
- 2.0.0
+ 2.1.1
```
@@ -110,7 +110,7 @@ Add this dependency to your project's build file:
```groovy
dependencies {
- implementation "org.sendbird:sendbird-platform-sdk:2.0.0"
+ implementation "org.sendbird:sendbird-platform-sdk:2.1.1
}
allprojects {
@@ -137,5 +137,4 @@ All the documentation for this project lives in the /docs directory of this repo
| Message | [docs/MessageApi.md](docs/MessageApi.md) |
| OpenChannel | [docs/OpenChannelApi.md ](docs/OpenChannelApi.md) |
| User | [docs/UserApi.md](docs/UserApi.md) |
-
-
+| Moderation | [docs/ModerationApi.md](docs/ModerationApi.md) |
diff --git a/README.md-e b/README.md-e
deleted file mode 100644
index 987cae1b..00000000
--- a/README.md-e
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
-# [Sendbird Java Platform SDK](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api)
-
-
-[](/docs)
-
-This is a Java library that makes talking to the [Sendbird Platform API](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) easier. With this library you can extend your Sendbird integration to include advanced features like channel automation and user management.
-
-# 🔥 Quick start
-
-```java
-
-import org.sendbird.client.ApiClient;
-import org.sendbird.client.ApiException;
-import org.sendbird.client.Configuration;
-import org.sendbird.client.api.UserApi;
-import org.openapitools.client.model.ListUsersResponse;
-
-
-class AppTest {
- static class User {
- UserApi apiInstance;
- public User(ApiClient defaultClient){
- apiInstance = new UserApi(defaultClient);
- }
- public void listUsers(){
-
- try {
- Integer limit = 56;
- String activeMode = "activated";
- Boolean showBot = true;
- ListUsersResponse result = apiInstance.listUsers().limit(limit).activeMode(activeMode).execute();
- System.out.println(result);
-
- } catch (ApiException e) {
- System.err.println("Exception when calling listUsers");
- System.err.println("Status code: " + e.getCode());
- System.err.println("Reason: " + e.getResponseBody());
- System.err.println("Response headers: " + e.getResponseHeaders());
- e.printStackTrace();
- }
- }
- }
-
- public static void main(String[] args) {
- String apiToken = "YOUR_API_TOKEN";
- String applicationId = "YOUR_APP_ID_FROM_DASHBOARD";
- ApiClient defaultClient = Configuration.getDefaultApiClient().addDefaultHeader("Api-Token", apiToken);
- defaultClient.setBasePath("https://api-" + applicationId + ".sendbird.com");
- User user = new User(defaultClient);
- user.listUsers();
- }
-}
-
-```
-
-# ⚒️ Prerequisite
-In order to make requests with this SDK you will need you master API token. This can be found through the [Sendbird dashboard](https://dashboard.sendbird.com/). Each app you create in Sendbird has its own master api token. These tokens can be found in Settings > Application > General.
-
-
-
-## 💻 Requirements
-
-Building the API client library requires:
-1. Java 1.7+
-2. Maven (3.8.3+)/Gradle (7.2+)
-
-## ⚙️ Installation
-
-To install the API client library to your local Maven repository, simply execute:
-
-```shell
-mvn clean install
-```
-
-To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
-
-```shell
-mvn clean deploy
-```
-
-Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information.
-
-### Maven users
-
-Add these dependency to your project's POM:
-
-```xml
-
-
- sendbird
- https://repo.sendbird.com/public/maven
-
-
-
-
-
- org.sendbird
- sendbird-platform-sdk
- 1.0.23
-
-
-```
-
-### Gradle users
-
-Add this dependency to your project's build file:
-
-```groovy
-
-dependencies {
- implementation "org.sendbird:sendbird-platform-sdk:1.0.23"
-}
-
-allprojects {
- repositories {
- maven { url "https://repo.sendbird.com/public/maven" }
- }
-}
-```
-
-
-
-
-
-# 🗃️ Documentation
-All the documentation for this project lives in the /docs directory of this repo.
-
-##### Helpful links
-
-| | Documentation |
-| ----------- | ----------- |
-| Announcement | [docs/AnnouncementApi.md](docs/AnnouncementApi.md)|
-| Application | [docs/ApplicationApi.md](docs/ApplicationApi.md) |
-| Bot | [docs/BotApi.md](docs/BotApi.md) |
-| GroupChannel | [docs/GroupChannelApi.md](docs/GroupChannelApi.md) |
-| Message | [docs/MessageApi.md](docs/MessageApi.md) |
-| OpenChannel | [docs/OpenChannelApi.md ](docs/OpenChannelApi.md) |
-| User | [docs/UserApi.md](docs/UserApi.md) |
-| Webhooks | [docs/WebhooksApi.md](docs/WebhooksApi.md) |
-
-
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 51621ccd..7b8289f8 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -1,4 +1,4 @@
-openapi: 3.0.0
+openapi: 3.0.3
info:
contact:
email: support@sendbird.com
@@ -2077,6 +2077,121 @@ paths:
- Bot
x-content-type: application/json
x-accepts: application/json
+ /v3/bots/{bot_userid}:
+ delete:
+ description: |-
+ ## Delete a bot
+
+ Deletes a bot from an application.
+
+ https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-delete-a-bot
+ ----------------------------
+ operationId: deleteBotById
+ parameters:
+ - example: "{{API_TOKEN}}"
+ explode: false
+ in: header
+ name: Api-Token
+ required: false
+ schema:
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: bot_userid
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ type: object
+ description: Successful response
+ summary: Delete a bot
+ tags:
+ - Bot
+ x-accepts: application/json
+ get:
+ description: |-
+ ## View a bot
+
+ Retrieves information on a bot.
+
+ https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-view-a-bot
+ ----------------------------
+ operationId: viewBotById
+ parameters:
+ - example: "{{API_TOKEN}}"
+ explode: false
+ in: header
+ name: Api-Token
+ required: false
+ schema:
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: bot_userid
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/viewBotByIdResponse'
+ description: Successful response
+ summary: View a bot
+ tags:
+ - Bot
+ x-accepts: application/json
+ put:
+ description: |-
+ ## Update a bot
+
+ Updates information on a bot.
+
+ https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-update-a-bot
+ ----------------------------
+ operationId: updateBotById
+ parameters:
+ - example: "{{API_TOKEN}}"
+ explode: false
+ in: header
+ name: Api-Token
+ required: false
+ schema:
+ type: string
+ style: simple
+ - explode: false
+ in: path
+ name: bot_userid
+ required: true
+ schema:
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/updateBotByIdData'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/updateBotByIdResponse'
+ description: Successful response
+ summary: Update a bot
+ tags:
+ - Bot
+ x-content-type: application/json
+ x-accepts: application/json
/v3/bots/{bot_userid}/send:
post:
description: "## Send a bot message\n\nSends a bot message to a group channel.\n\
@@ -2103,9 +2218,9 @@ paths:
style: simple
requestBody:
content:
- application/json:
+ multipart/form-data:
schema:
- $ref: '#/components/schemas/sendABotMessage_request'
+ $ref: '#/components/schemas/SendABotMessageRequest'
responses:
"200":
content:
@@ -2116,7 +2231,7 @@ paths:
summary: Send a bot's message
tags:
- Bot
- x-content-type: application/json
+ x-content-type: multipart/form-data
x-accepts: application/json
/v3/bots/{bot_userid}/channels:
delete:
@@ -2523,20 +2638,20 @@ paths:
\ out blocked users when a user invites a group of users to a new group channel.\
\ By default, blocked users are included when sending invitations. The value\
\ of this option can be changed by Sendbird if your Sendbird application isn't\
- \ integrated to the client app. If you want to change the value, [contact\
+ \ integrated with the client app. If you want to change the value, [contact\
\ our sales team](https://get.sendbird.com/talk-to-sales.html).\n \n- **Turn\
\ on or off notifications from blocked users**: Determines whether or not\
\ to receive message notifications from the blocked user in a specific 1-to-N\
\ group channel where they are both members. By default, a user doesn't receive\
\ notifications from blocked users. The value of this option can be set individually\
\ per channel. If you want to use this option, [contact our sales team](https://get.sendbird.com/talk-to-sales.html).\n\
- \ \n\n> **Note**: To learn more about other available moderation tools,\
- \ see [Moderation Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions).\
- \ \n \n\nThe following tables explain what happens to a user's chat experience\
- \ when the user blocks another user in a 1-to-1 or 1-to-N group channel. In\
- \ the case of a 1-to-1 group channel, the block mode is only maintained with\
- \ the original members. If other than the original members are added, the\
- \ rules for 1-to-N group channel begin to apply.\n\n[https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users](https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users)"
+ \n> **Note**: To learn more about other available moderation tools, see [Moderation\
+ \ Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions).\
+ \ The following tables explain what happens to a user's chat experience when\
+ \ the user blocks another user in a 1-to-1 or 1-to-N group channel. In the\
+ \ case of a 1-to-1 group channel, the block mode is only maintained with the\
+ \ original members. If other than the original members are added, the rules\
+ \ for 1-to-N group channel begin to apply.\n\n[https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users](https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users)"
operationId: blockAUser
parameters:
- description: '(Required) '
@@ -4914,7 +5029,8 @@ paths:
name: message_id
required: true
schema:
- type: string
+ format: int64
+ type: integer
style: simple
- explode: true
in: query
@@ -4977,7 +5093,8 @@ paths:
name: message_id
required: true
schema:
- type: string
+ format: int64
+ type: integer
style: simple
- explode: false
in: header
@@ -5039,7 +5156,8 @@ paths:
name: message_id
required: true
schema:
- type: string
+ format: int64
+ type: integer
style: simple
- explode: false
in: header
@@ -5102,7 +5220,8 @@ paths:
name: message_id
required: true
schema:
- type: string
+ format: int64
+ type: integer
style: simple
- explode: false
in: header
@@ -5158,7 +5277,8 @@ paths:
name: message_id
required: true
schema:
- type: string
+ format: int64
+ type: integer
style: simple
- explode: true
in: query
@@ -5255,7 +5375,8 @@ paths:
name: message_id
required: true
schema:
- type: string
+ format: int64
+ type: integer
style: simple
- explode: false
in: header
@@ -5296,12 +5417,12 @@ components:
type: string
Sendbird.Thumbnail:
example:
- real_width: 7
+ real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
properties:
height:
type: integer
@@ -5322,20 +5443,20 @@ components:
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
properties:
url:
type: string
@@ -5357,7 +5478,7 @@ components:
exclude_user_ids:
- exclude_user_ids
- exclude_user_ids
- wait_seconds: 6
+ wait_seconds: 1
properties:
wait_seconds:
type: integer
@@ -5400,12 +5521,15 @@ components:
- operator
type: string
nickname:
+ nullable: true
type: string
user_id:
type: string
profile_url:
+ default: ""
type: string
metadata:
+ nullable: true
type: object
required:
- user_id
@@ -5419,29 +5543,25 @@ components:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
- nullable: true
+ last_seen_at: 9
properties:
access_token:
type: string
@@ -5451,6 +5571,7 @@ components:
discovery_keys:
items:
type: string
+ nullable: true
type: array
has_ever_logged_in:
type: boolean
@@ -5468,15 +5589,19 @@ components:
locale:
type: string
metadata:
+ nullable: true
properties: {}
type: object
nickname:
+ nullable: true
type: string
preferred_languages:
items:
type: string
+ nullable: true
type: array
profile_url:
+ default: ""
type: string
require_auth_for_profile_image:
type: boolean
@@ -5497,10 +5622,6 @@ components:
type: string
is_created:
type: boolean
- session_tokens:
- items:
- type: string
- type: array
required:
- user_id
type: object
@@ -5512,11 +5633,11 @@ components:
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -5529,7 +5650,7 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
+ last_seen_at: 3
properties:
delivered_ts:
format: int64
@@ -5558,6 +5679,7 @@ components:
format: int64
type: integer
metadata:
+ nullable: true
properties: {}
type: object
muted_description:
@@ -5566,12 +5688,14 @@ components:
format: int64
type: integer
nickname:
+ nullable: true
type: string
push_enabled:
type: boolean
push_trigger_option:
$ref: '#/components/schemas/Sendbird.PushTriggerOption'
profile_url:
+ default: ""
type: string
require_auth_for_profile_image:
type: boolean
@@ -5600,11 +5724,6 @@ components:
Sendbird.ExtendedMessagePayload:
description: Specifies the extended message payload which is used to send a
message with a custom message type.
- example:
- suggested_replies:
- - suggested_replies
- - suggested_replies
- custom_view: "{}"
properties:
custom_view:
description: "JSON format you want to embed in message, eq : {\"title\"\
@@ -5624,58 +5743,58 @@ components:
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
custom_type: custom_type
files:
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
message: message
type: type
user:
@@ -5685,29 +5804,26 @@ components:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
- ts: 1
+ last_seen_at: 9
+ ts: 5
properties:
custom_type:
type: string
@@ -5729,7 +5845,7 @@ components:
type: object
Sendbird.Reaction:
example:
- updated_at: 9
+ updated_at: 2
user_ids:
- user_ids
- user_ids
@@ -5755,12 +5871,12 @@ components:
update_unread_count: true
custom_type: custom_type
is_reply_to_channel: true
- created_at: 1
+ created_at: 7
is_removed: true
type: type
req_id: req_id
file: "{}"
- updated_at: 7
+ updated_at: 3
translations: "{}"
thread_info: "{}"
mentioned_users:
@@ -5781,67 +5897,67 @@ components:
nickname: nickname
is_blocked_by_me: true
channel_type: channel_type
- message_survival_seconds: 2
+ message_survival_seconds: 9
silent: true
- parent_message_id: 7
+ parent_message_id: 4
parent_message_info:
file:
file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
custom_type: custom_type
files:
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
message: message
type: type
user:
@@ -5851,31 +5967,28 @@ components:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
- ts: 1
+ last_seen_at: 9
+ ts: 5
require_auth: true
- message_id: 6
+ message_id: 1
sorted_metaarray:
- value:
- value
@@ -5889,56 +6002,52 @@ components:
message: message
channel_url: channel_url
is_op_msg: true
- message_retention_hour: 1
- extended_message_payload:
- suggested_replies:
- - suggested_replies
- - suggested_replies
- custom_view: "{}"
+ message_retention_hour: 6
+ extended_message_payload: null
files:
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
reactions:
- - updated_at: 9
+ - updated_at: 2
user_ids:
- user_ids
- user_ids
key: key
- - updated_at: 9
+ - updated_at: 2
user_ids:
- user_ids
- user_ids
@@ -5952,7 +6061,6 @@ components:
profile_url: profile_url
nickname: nickname
is_blocked_by_me: true
- nullable: true
properties:
require_auth:
type: boolean
@@ -6007,6 +6115,7 @@ components:
channel_url:
type: string
message_id:
+ format: int64
type: integer
sorted_metaarray:
items:
@@ -6023,7 +6132,7 @@ components:
message_events:
$ref: '#/components/schemas/Sendbird_MessageResponse_message_events'
extended_message_payload:
- $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload'
+ $ref: '#/components/schemas/Sendbird_MessageResponse_extended_message_payload'
type: object
Sendbird.GroupChannel:
example:
@@ -6038,213 +6147,8 @@ components:
is_hidden: true
created_at: 0
is_super: true
- last_message:
- data: data
- message_events:
- update_last_message: true
- update_mention_count: true
- send_push_notification: send_push_notification
- update_unread_count: true
- custom_type: custom_type
- is_reply_to_channel: true
- created_at: 1
- is_removed: true
- type: type
- req_id: req_id
- file: "{}"
- updated_at: 7
- translations: "{}"
- thread_info: "{}"
- mentioned_users:
- - metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- - metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- channel_type: channel_type
- message_survival_seconds: 2
- silent: true
- parent_message_id: 7
- parent_message_info:
- file:
- file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- custom_type: custom_type
- files:
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- message: message
- type: type
- user:
- metadata: "{}"
- is_active: true
- preferred_languages:
- - preferred_languages
- - preferred_languages
- require_auth_for_profile_image: true
- unread_channel_count: 9
- discovery_keys:
- - discovery_keys
- - discovery_keys
- profile_url: profile_url
- is_created: true
- created_at: 4
- has_ever_logged_in: true
- locale: locale
- unread_message_count: 9
- access_token: access_token
- is_shadow_blocked: true
- user_id: user_id
- nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
- phone_number: phone_number
- is_online: true
- state: ""
- is_hide_me_from_friends: true
- last_seen_at: 5
- ts: 1
- require_auth: true
- message_id: 6
- sorted_metaarray:
- - value:
- - value
- - value
- key: key
- - value:
- - value
- - value
- key: key
- mention_type: mention_type
- message: message
- channel_url: channel_url
- is_op_msg: true
- message_retention_hour: 1
- extended_message_payload:
- suggested_replies:
- - suggested_replies
- - suggested_replies
- custom_view: "{}"
- files:
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- reactions:
- - updated_at: 9
- user_ids:
- - user_ids
- - user_ids
- key: key
- - updated_at: 9
- user_ids:
- - user_ids
- - user_ids
- key: key
- user:
- metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- user_last_read: 3
+ last_message: null
+ user_last_read: 1
is_discoverable: true
is_muted: true
joined_member_count: 5
@@ -6257,11 +6161,11 @@ components:
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -6274,18 +6178,18 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
+ last_seen_at: 3
- metadata: "{}"
is_active: true
is_blocking_me: true
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -6298,8 +6202,8 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
- max_length_message: 6
+ last_seen_at: 3
+ max_length_message: 2
my_role: ""
inviter:
metadata: "{}"
@@ -6311,13 +6215,13 @@ components:
nickname: nickname
is_blocked_by_me: true
push_trigger_option: null
- member_count: 8
- message_survival_seconds: 1
+ member_count: 7
+ message_survival_seconds: 7
has_ai_bot: true
cover_url: cover_url
is_ephemeral: true
is_exclusive: true
- unread_mention_count: 5
+ unread_mention_count: 6
joined_ts: 5
created_by:
metadata: "{}"
@@ -6329,7 +6233,7 @@ components:
nickname: nickname
is_blocked_by_me: true
has_bot: true
- unread_message_count: 6
+ unread_message_count: 7
channel_url: channel_url
is_broadcast: true
hidden_state: hidden_allow_auto_unhide
@@ -6338,16 +6242,16 @@ components:
is_public: true
name: name
read_receipt:
- key: 2
+ key: 1
sms_fallback:
exclude_user_ids:
- exclude_user_ids
- exclude_user_ids
- wait_seconds: 6
+ wait_seconds: 1
ignore_profanity_filter: true
delivery_receipt: "{}"
is_access_code_required: true
- ts_message_offset: 6
+ ts_message_offset: 1
properties:
channel_url:
type: string
@@ -6393,6 +6297,7 @@ components:
inviter:
$ref: '#/components/schemas/Sendbird.BasicUserInfo'
is_access_code_required:
+ nullable: true
type: boolean
is_broadcast:
type: boolean
@@ -6418,9 +6323,10 @@ components:
type: integer
joined_ts:
format: int64
+ nullable: true
type: integer
last_message:
- $ref: '#/components/schemas/Sendbird.MessageResponse'
+ $ref: '#/components/schemas/Sendbird_GroupChannel_last_message'
max_length_message:
type: integer
member_count:
@@ -6438,6 +6344,7 @@ components:
message_survival_seconds:
type: integer
metadata:
+ nullable: true
type: object
my_role:
enum:
@@ -6496,12 +6403,12 @@ components:
update_unread_count: true
custom_type: custom_type
is_reply_to_channel: true
- created_at: 1
+ created_at: 7
is_removed: true
type: type
req_id: req_id
file: "{}"
- updated_at: 7
+ updated_at: 3
translations: "{}"
thread_info: "{}"
mentioned_users:
@@ -6522,67 +6429,67 @@ components:
nickname: nickname
is_blocked_by_me: true
channel_type: channel_type
- message_survival_seconds: 2
+ message_survival_seconds: 9
silent: true
- parent_message_id: 7
+ parent_message_id: 4
parent_message_info:
file:
file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
custom_type: custom_type
files:
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
message: message
type: type
user:
@@ -6592,31 +6499,28 @@ components:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
- ts: 1
+ last_seen_at: 9
+ ts: 5
require_auth: true
- message_id: 6
+ message_id: 1
sorted_metaarray:
- value:
- value
@@ -6630,56 +6534,52 @@ components:
message: message
channel_url: channel_url
is_op_msg: true
- message_retention_hour: 1
- extended_message_payload:
- suggested_replies:
- - suggested_replies
- - suggested_replies
- custom_view: "{}"
+ message_retention_hour: 6
+ extended_message_payload: null
files:
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
reactions:
- - updated_at: 9
+ - updated_at: 2
user_ids:
- user_ids
- user_ids
key: key
- - updated_at: 9
+ - updated_at: 2
user_ids:
- user_ids
- user_ids
@@ -6704,56 +6604,50 @@ components:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
+ last_seen_at: 9
- metadata: "{}"
is_active: true
preferred_languages:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
+ last_seen_at: 9
members:
- metadata: "{}"
is_active: true
@@ -6761,11 +6655,11 @@ components:
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -6778,18 +6672,18 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
+ last_seen_at: 3
- metadata: "{}"
is_active: true
is_blocking_me: true
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -6802,15 +6696,15 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
+ last_seen_at: 3
max_length_message: 9
id: 2
- member_count: 3
- message_survival_seconds: 2
+ member_count: 6
+ message_survival_seconds: 3
has_ai_bot: true
cover_url: cover_url
is_ephemeral: true
- unread_mention_count: 7
+ unread_mention_count: 1
created_by:
metadata: "{}"
require_auth_for_profile_image: true
@@ -6821,18 +6715,18 @@ components:
nickname: nickname
is_blocked_by_me: true
has_bot: true
- unread_message_count: 1
+ unread_message_count: 2
channel_url: channel_url
is_broadcast: true
is_public: true
name: name
read_receipt:
- key: 4
+ key: 6
sms_fallback:
exclude_user_ids:
- exclude_user_ids
- exclude_user_ids
- wait_seconds: 6
+ wait_seconds: 1
ignore_profanity_filter: true
delivery_receipt:
key: 5
@@ -6978,6 +6872,7 @@ components:
participant_count:
type: integer
metadata:
+ nullable: true
type: object
required:
- channel_url
@@ -6999,213 +6894,8 @@ components:
is_hidden: true
created_at: 0
is_super: true
- last_message:
- data: data
- message_events:
- update_last_message: true
- update_mention_count: true
- send_push_notification: send_push_notification
- update_unread_count: true
- custom_type: custom_type
- is_reply_to_channel: true
- created_at: 1
- is_removed: true
- type: type
- req_id: req_id
- file: "{}"
- updated_at: 7
- translations: "{}"
- thread_info: "{}"
- mentioned_users:
- - metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- - metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- channel_type: channel_type
- message_survival_seconds: 2
- silent: true
- parent_message_id: 7
- parent_message_info:
- file:
- file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- custom_type: custom_type
- files:
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- message: message
- type: type
- user:
- metadata: "{}"
- is_active: true
- preferred_languages:
- - preferred_languages
- - preferred_languages
- require_auth_for_profile_image: true
- unread_channel_count: 9
- discovery_keys:
- - discovery_keys
- - discovery_keys
- profile_url: profile_url
- is_created: true
- created_at: 4
- has_ever_logged_in: true
- locale: locale
- unread_message_count: 9
- access_token: access_token
- is_shadow_blocked: true
- user_id: user_id
- nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
- phone_number: phone_number
- is_online: true
- state: ""
- is_hide_me_from_friends: true
- last_seen_at: 5
- ts: 1
- require_auth: true
- message_id: 6
- sorted_metaarray:
- - value:
- - value
- - value
- key: key
- - value:
- - value
- - value
- key: key
- mention_type: mention_type
- message: message
- channel_url: channel_url
- is_op_msg: true
- message_retention_hour: 1
- extended_message_payload:
- suggested_replies:
- - suggested_replies
- - suggested_replies
- custom_view: "{}"
- files:
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- reactions:
- - updated_at: 9
- user_ids:
- - user_ids
- - user_ids
- key: key
- - updated_at: 9
- user_ids:
- - user_ids
- - user_ids
- key: key
- user:
- metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- user_last_read: 3
+ last_message: null
+ user_last_read: 1
is_discoverable: true
is_muted: true
joined_member_count: 5
@@ -7218,11 +6908,11 @@ components:
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -7235,18 +6925,18 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
+ last_seen_at: 3
- metadata: "{}"
is_active: true
is_blocking_me: true
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -7259,8 +6949,8 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
- max_length_message: 6
+ last_seen_at: 3
+ max_length_message: 2
my_role: ""
inviter:
metadata: "{}"
@@ -7272,13 +6962,13 @@ components:
nickname: nickname
is_blocked_by_me: true
push_trigger_option: null
- member_count: 8
- message_survival_seconds: 1
+ member_count: 7
+ message_survival_seconds: 7
has_ai_bot: true
cover_url: cover_url
is_ephemeral: true
is_exclusive: true
- unread_mention_count: 5
+ unread_mention_count: 6
joined_ts: 5
created_by:
metadata: "{}"
@@ -7290,7 +6980,7 @@ components:
nickname: nickname
is_blocked_by_me: true
has_bot: true
- unread_message_count: 6
+ unread_message_count: 7
channel_url: channel_url
is_broadcast: true
hidden_state: hidden_allow_auto_unhide
@@ -7299,16 +6989,16 @@ components:
is_public: true
name: name
read_receipt:
- key: 2
+ key: 1
sms_fallback:
exclude_user_ids:
- exclude_user_ids
- exclude_user_ids
- wait_seconds: 6
+ wait_seconds: 1
ignore_profanity_filter: true
delivery_receipt: "{}"
is_access_code_required: true
- ts_message_offset: 6
+ ts_message_offset: 1
- metadata: "{}"
count_preference: "false"
data: data
@@ -7320,213 +7010,8 @@ components:
is_hidden: true
created_at: 0
is_super: true
- last_message:
- data: data
- message_events:
- update_last_message: true
- update_mention_count: true
- send_push_notification: send_push_notification
- update_unread_count: true
- custom_type: custom_type
- is_reply_to_channel: true
- created_at: 1
- is_removed: true
- type: type
- req_id: req_id
- file: "{}"
- updated_at: 7
- translations: "{}"
- thread_info: "{}"
- mentioned_users:
- - metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- - metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- channel_type: channel_type
- message_survival_seconds: 2
- silent: true
- parent_message_id: 7
- parent_message_info:
- file:
- file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- custom_type: custom_type
- files:
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- message: message
- type: type
- user:
- metadata: "{}"
- is_active: true
- preferred_languages:
- - preferred_languages
- - preferred_languages
- require_auth_for_profile_image: true
- unread_channel_count: 9
- discovery_keys:
- - discovery_keys
- - discovery_keys
- profile_url: profile_url
- is_created: true
- created_at: 4
- has_ever_logged_in: true
- locale: locale
- unread_message_count: 9
- access_token: access_token
- is_shadow_blocked: true
- user_id: user_id
- nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
- phone_number: phone_number
- is_online: true
- state: ""
- is_hide_me_from_friends: true
- last_seen_at: 5
- ts: 1
- require_auth: true
- message_id: 6
- sorted_metaarray:
- - value:
- - value
- - value
- key: key
- - value:
- - value
- - value
- key: key
- mention_type: mention_type
- message: message
- channel_url: channel_url
- is_op_msg: true
- message_retention_hour: 1
- extended_message_payload:
- suggested_replies:
- - suggested_replies
- - suggested_replies
- custom_view: "{}"
- files:
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- reactions:
- - updated_at: 9
- user_ids:
- - user_ids
- - user_ids
- key: key
- - updated_at: 9
- user_ids:
- - user_ids
- - user_ids
- key: key
- user:
- metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- user_last_read: 3
+ last_message: null
+ user_last_read: 1
is_discoverable: true
is_muted: true
joined_member_count: 5
@@ -7539,11 +7024,11 @@ components:
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -7556,18 +7041,18 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
+ last_seen_at: 3
- metadata: "{}"
is_active: true
is_blocking_me: true
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -7580,8 +7065,8 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
- max_length_message: 6
+ last_seen_at: 3
+ max_length_message: 2
my_role: ""
inviter:
metadata: "{}"
@@ -7593,13 +7078,13 @@ components:
nickname: nickname
is_blocked_by_me: true
push_trigger_option: null
- member_count: 8
- message_survival_seconds: 1
+ member_count: 7
+ message_survival_seconds: 7
has_ai_bot: true
cover_url: cover_url
is_ephemeral: true
is_exclusive: true
- unread_mention_count: 5
+ unread_mention_count: 6
joined_ts: 5
created_by:
metadata: "{}"
@@ -7611,7 +7096,7 @@ components:
nickname: nickname
is_blocked_by_me: true
has_bot: true
- unread_message_count: 6
+ unread_message_count: 7
channel_url: channel_url
is_broadcast: true
hidden_state: hidden_allow_auto_unhide
@@ -7620,17 +7105,17 @@ components:
is_public: true
name: name
read_receipt:
- key: 2
+ key: 1
sms_fallback:
exclude_user_ids:
- exclude_user_ids
- exclude_user_ids
- wait_seconds: 6
+ wait_seconds: 1
ignore_profanity_filter: true
delivery_receipt: "{}"
is_access_code_required: true
- ts_message_offset: 6
- ts: 3
+ ts_message_offset: 1
+ ts: 4
properties:
channels:
items:
@@ -7668,11 +7153,11 @@ components:
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -7685,18 +7170,18 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
+ last_seen_at: 3
- metadata: "{}"
is_active: true
is_blocking_me: true
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -7709,7 +7194,7 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
+ last_seen_at: 3
properties:
members:
items:
@@ -7812,21 +7297,8 @@ components:
toggle_button_type: toggle_button_type
toggle_button_url: toggle_button_url
auto_open: true
- ai:
- feedback: true
- top_p: 5
- system_message: system_message
- frequency_penalty: 0
- max_tokens: 6
- stream: true
- presence_penalty: 1
- temperature: 5.962133916683182
- backend: backend
- model: model
- instruction_mode: ""
- system_message_for_context_prefix: system_message_for_context_prefix
- created_at: 7
- channel_invitation_preference: 2
+ created_at: 6
+ channel_invitation_preference: 0
first_messages:
- data:
suggested_replies:
@@ -7866,21 +7338,8 @@ components:
toggle_button_type: toggle_button_type
toggle_button_url: toggle_button_url
auto_open: true
- ai:
- feedback: true
- top_p: 5
- system_message: system_message
- frequency_penalty: 0
- max_tokens: 6
- stream: true
- presence_penalty: 1
- temperature: 5.962133916683182
- backend: backend
- model: model
- instruction_mode: ""
- system_message_for_context_prefix: system_message_for_context_prefix
- created_at: 7
- channel_invitation_preference: 2
+ created_at: 6
+ channel_invitation_preference: 0
first_messages:
- data:
suggested_replies:
@@ -7907,116 +7366,375 @@ components:
next:
type: string
type: object
- sendABotMessageResponse:
- $ref: '#/components/schemas/Sendbird.MessageResponse'
- createABotResponse:
+ viewBotByIdResponse:
example:
show_member: true
enable_mark_as_read: true
is_privacy_mode: true
bot_callback_url: bot_callback_url
bot:
- feedback: true
bot_profile_url: bot_profile_url
bot_userid: bot_userid
bot_metadata: "{}"
bot_type: bot_type
- bot_nickname: bot_nickname
bot_token: bot_token
- bot_require_auth_for_profile_image: true
- ai_agent_type: ai_agent_type
- bot_style:
- color:
- accent_color: accent_color
- bot_message_color: bot_message_color
- theme: theme
- toggle_button_type: toggle_button_type
- toggle_button_url: toggle_button_url
- auto_open: true
- created_at: 6
+ bot_nickname: bot_nickname
channel_invitation_preference: 0
properties:
bot:
- $ref: '#/components/schemas/createABotResponse_bot'
+ $ref: '#/components/schemas/viewBotByIdResponse_bot'
bot_callback_url:
type: string
- bot_style:
- $ref: '#/components/schemas/createABotResponse_bot_style'
- channel_invitation_preference:
- type: integer
- created_at:
- format: int64
- type: integer
enable_mark_as_read:
type: boolean
is_privacy_mode:
type: boolean
show_member:
type: boolean
- required:
- - bot
+ channel_invitation_preference:
+ type: integer
type: object
- scheduleAnAnnouncementResponse:
+ updateBotByIdResponse:
example:
- create_channel_options:
- cover_url: cover_url
- data: data
- custom_type: custom_type
- name: name
- distinct: true
- end_at: 6
- enable_push: true
- mark_as_read: true
- target_at: target_at
- unique_id: unique_id
- target_user_count: 2
- announcement_group: announcement_group
- sent_channel_count: 7
- sent_user_count: 9
- scheduled_at: 2
- open_count: 5
- message:
- message_retention_hour: 1
- data: data
- custom_type: custom_type
- user_id: user_id
- type: type
- content: content
- priority: priority
- target_channel_count: 3
- target_channel_type: target_channel_type
- completed_at: 0
- cease_at: cease_at
- resume_at: resume_at
- send_to_frozen_channels: true
- target_custom_type: target_custom_type
- create_channel: true
- open_rate: 5.637376656633329
- status: status
+ show_member: true
+ enable_mark_as_read: true
+ is_privacy_mode: true
+ bot_callback_url: bot_callback_url
+ bot:
+ bot_profile_url: bot_profile_url
+ bot_userid: bot_userid
+ bot_metadata: "{}"
+ bot_type: bot_type
+ bot_token: bot_token
+ bot_nickname: bot_nickname
+ channel_invitation_preference: 0
properties:
- announcement_group:
- type: string
- cease_at:
+ bot:
+ $ref: '#/components/schemas/viewBotByIdResponse_bot'
+ bot_callback_url:
type: string
- completed_at:
- format: int64
- type: integer
- create_channel:
+ enable_mark_as_read:
type: boolean
- create_channel_options:
- $ref: '#/components/schemas/scheduleAnAnnouncement_request_create_channel_options'
- enable_push:
+ is_privacy_mode:
type: boolean
- end_at:
- format: int64
- type: integer
- mark_as_read:
+ show_member:
type: boolean
- message:
- $ref: '#/components/schemas/scheduleAnAnnouncementResponse_message'
- open_count:
+ channel_invitation_preference:
type: integer
- open_rate:
+ type: object
+ sendABotMessageResponse:
+ example:
+ message:
+ data: data
+ message_events:
+ update_last_message: true
+ update_mention_count: true
+ send_push_notification: send_push_notification
+ update_unread_count: true
+ custom_type: custom_type
+ is_reply_to_channel: true
+ created_at: 7
+ is_removed: true
+ type: type
+ req_id: req_id
+ file: "{}"
+ updated_at: 3
+ translations: "{}"
+ thread_info: "{}"
+ mentioned_users:
+ - metadata: "{}"
+ require_auth_for_profile_image: true
+ is_active: true
+ role: ""
+ user_id: user_id
+ profile_url: profile_url
+ nickname: nickname
+ is_blocked_by_me: true
+ - metadata: "{}"
+ require_auth_for_profile_image: true
+ is_active: true
+ role: ""
+ user_id: user_id
+ profile_url: profile_url
+ nickname: nickname
+ is_blocked_by_me: true
+ channel_type: channel_type
+ message_survival_seconds: 9
+ silent: true
+ parent_message_id: 4
+ parent_message_info:
+ file:
+ file_name: file_name
+ file_type: file_type
+ require_auth: true
+ thumbnails:
+ - real_width: 1
+ width: 1
+ plain_url: plain_url
+ real_height: 1
+ url: url
+ height: 7
+ - real_width: 1
+ width: 1
+ plain_url: plain_url
+ real_height: 1
+ url: url
+ height: 7
+ url: url
+ file_size: 4
+ custom_type: custom_type
+ files:
+ - file_name: file_name
+ file_type: file_type
+ require_auth: true
+ thumbnails:
+ - real_width: 1
+ width: 1
+ plain_url: plain_url
+ real_height: 1
+ url: url
+ height: 7
+ - real_width: 1
+ width: 1
+ plain_url: plain_url
+ real_height: 1
+ url: url
+ height: 7
+ url: url
+ file_size: 4
+ - file_name: file_name
+ file_type: file_type
+ require_auth: true
+ thumbnails:
+ - real_width: 1
+ width: 1
+ plain_url: plain_url
+ real_height: 1
+ url: url
+ height: 7
+ - real_width: 1
+ width: 1
+ plain_url: plain_url
+ real_height: 1
+ url: url
+ height: 7
+ url: url
+ file_size: 4
+ message: message
+ type: type
+ user:
+ metadata: "{}"
+ is_active: true
+ preferred_languages:
+ - preferred_languages
+ - preferred_languages
+ require_auth_for_profile_image: true
+ unread_channel_count: 6
+ discovery_keys:
+ - discovery_keys
+ - discovery_keys
+ profile_url: profile_url
+ is_created: true
+ created_at: 9
+ has_ever_logged_in: true
+ locale: locale
+ unread_message_count: 8
+ access_token: access_token
+ is_shadow_blocked: true
+ user_id: user_id
+ nickname: nickname
+ phone_number: phone_number
+ is_online: true
+ state: ""
+ is_hide_me_from_friends: true
+ last_seen_at: 9
+ ts: 5
+ require_auth: true
+ message_id: 1
+ sorted_metaarray:
+ - value:
+ - value
+ - value
+ key: key
+ - value:
+ - value
+ - value
+ key: key
+ mention_type: mention_type
+ message: message
+ channel_url: channel_url
+ is_op_msg: true
+ message_retention_hour: 6
+ extended_message_payload: null
+ files:
+ - file_name: file_name
+ file_type: file_type
+ require_auth: true
+ thumbnails:
+ - real_width: 1
+ width: 1
+ plain_url: plain_url
+ real_height: 1
+ url: url
+ height: 7
+ - real_width: 1
+ width: 1
+ plain_url: plain_url
+ real_height: 1
+ url: url
+ height: 7
+ url: url
+ file_size: 4
+ - file_name: file_name
+ file_type: file_type
+ require_auth: true
+ thumbnails:
+ - real_width: 1
+ width: 1
+ plain_url: plain_url
+ real_height: 1
+ url: url
+ height: 7
+ - real_width: 1
+ width: 1
+ plain_url: plain_url
+ real_height: 1
+ url: url
+ height: 7
+ url: url
+ file_size: 4
+ reactions:
+ - updated_at: 2
+ user_ids:
+ - user_ids
+ - user_ids
+ key: key
+ - updated_at: 2
+ user_ids:
+ - user_ids
+ - user_ids
+ key: key
+ user:
+ metadata: "{}"
+ require_auth_for_profile_image: true
+ is_active: true
+ role: ""
+ user_id: user_id
+ profile_url: profile_url
+ nickname: nickname
+ is_blocked_by_me: true
+ properties:
+ message:
+ $ref: '#/components/schemas/Sendbird.MessageResponse'
+ type: object
+ createABotResponse:
+ example:
+ show_member: true
+ enable_mark_as_read: true
+ is_privacy_mode: true
+ bot_callback_url: bot_callback_url
+ bot:
+ feedback: true
+ bot_profile_url: bot_profile_url
+ bot_userid: bot_userid
+ bot_metadata: "{}"
+ bot_type: bot_type
+ bot_nickname: bot_nickname
+ bot_token: bot_token
+ bot_require_auth_for_profile_image: true
+ ai_agent_type: ai_agent_type
+ bot_style:
+ color:
+ accent_color: accent_color
+ bot_message_color: bot_message_color
+ theme: theme
+ toggle_button_type: toggle_button_type
+ toggle_button_url: toggle_button_url
+ auto_open: true
+ created_at: 6
+ channel_invitation_preference: 0
+ properties:
+ bot:
+ $ref: '#/components/schemas/createABotResponse_bot'
+ bot_callback_url:
+ type: string
+ bot_style:
+ $ref: '#/components/schemas/listBotsResponse_bots_inner_bot_style'
+ channel_invitation_preference:
+ type: integer
+ created_at:
+ format: int64
+ type: integer
+ enable_mark_as_read:
+ type: boolean
+ is_privacy_mode:
+ type: boolean
+ show_member:
+ type: boolean
+ required:
+ - bot
+ type: object
+ scheduleAnAnnouncementResponse:
+ example:
+ create_channel_options:
+ cover_url: cover_url
+ data: data
+ custom_type: custom_type
+ name: name
+ distinct: true
+ end_at: 6
+ enable_push: true
+ mark_as_read: true
+ target_at: target_at
+ unique_id: unique_id
+ target_user_count: 2
+ announcement_group: announcement_group
+ sent_channel_count: 7
+ sent_user_count: 9
+ scheduled_at: 2
+ open_count: 5
+ message:
+ message_retention_hour: 1
+ data: data
+ custom_type: custom_type
+ user_id: user_id
+ type: type
+ content: content
+ priority: priority
+ target_channel_count: 3
+ target_channel_type: target_channel_type
+ completed_at: 0
+ cease_at: cease_at
+ resume_at: resume_at
+ send_to_frozen_channels: true
+ target_custom_type: target_custom_type
+ create_channel: true
+ open_rate: 5.637376656633329
+ status: status
+ properties:
+ announcement_group:
+ type: string
+ cease_at:
+ type: string
+ completed_at:
+ format: int64
+ type: integer
+ create_channel:
+ type: boolean
+ create_channel_options:
+ $ref: '#/components/schemas/scheduleAnAnnouncement_request_create_channel_options'
+ enable_push:
+ type: boolean
+ end_at:
+ format: int64
+ type: integer
+ mark_as_read:
+ type: boolean
+ message:
+ $ref: '#/components/schemas/scheduleAnAnnouncementResponse_message'
+ open_count:
+ type: integer
+ open_rate:
type: number
priority:
type: string
@@ -8138,56 +7856,50 @@ components:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
+ last_seen_at: 9
- metadata: "{}"
is_active: true
preferred_languages:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
+ last_seen_at: 9
properties:
users:
items:
@@ -8206,56 +7918,50 @@ components:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
+ last_seen_at: 9
- metadata: "{}"
is_active: true
preferred_languages:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
+ last_seen_at: 9
properties:
users:
items:
@@ -8285,56 +7991,50 @@ components:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
+ last_seen_at: 9
- metadata: "{}"
is_active: true
preferred_languages:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
+ last_seen_at: 9
properties:
next:
type: string
@@ -8598,213 +8298,8 @@ components:
is_hidden: true
created_at: 0
is_super: true
- last_message:
- data: data
- message_events:
- update_last_message: true
- update_mention_count: true
- send_push_notification: send_push_notification
- update_unread_count: true
- custom_type: custom_type
- is_reply_to_channel: true
- created_at: 1
- is_removed: true
- type: type
- req_id: req_id
- file: "{}"
- updated_at: 7
- translations: "{}"
- thread_info: "{}"
- mentioned_users:
- - metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- - metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- channel_type: channel_type
- message_survival_seconds: 2
- silent: true
- parent_message_id: 7
- parent_message_info:
- file:
- file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- custom_type: custom_type
- files:
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- message: message
- type: type
- user:
- metadata: "{}"
- is_active: true
- preferred_languages:
- - preferred_languages
- - preferred_languages
- require_auth_for_profile_image: true
- unread_channel_count: 9
- discovery_keys:
- - discovery_keys
- - discovery_keys
- profile_url: profile_url
- is_created: true
- created_at: 4
- has_ever_logged_in: true
- locale: locale
- unread_message_count: 9
- access_token: access_token
- is_shadow_blocked: true
- user_id: user_id
- nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
- phone_number: phone_number
- is_online: true
- state: ""
- is_hide_me_from_friends: true
- last_seen_at: 5
- ts: 1
- require_auth: true
- message_id: 6
- sorted_metaarray:
- - value:
- - value
- - value
- key: key
- - value:
- - value
- - value
- key: key
- mention_type: mention_type
- message: message
- channel_url: channel_url
- is_op_msg: true
- message_retention_hour: 1
- extended_message_payload:
- suggested_replies:
- - suggested_replies
- - suggested_replies
- custom_view: "{}"
- files:
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- reactions:
- - updated_at: 9
- user_ids:
- - user_ids
- - user_ids
- key: key
- - updated_at: 9
- user_ids:
- - user_ids
- - user_ids
- key: key
- user:
- metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- user_last_read: 3
+ last_message: null
+ user_last_read: 1
is_discoverable: true
is_muted: true
joined_member_count: 5
@@ -8817,11 +8312,11 @@ components:
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -8834,18 +8329,18 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
+ last_seen_at: 3
- metadata: "{}"
is_active: true
is_blocking_me: true
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -8858,8 +8353,8 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
- max_length_message: 6
+ last_seen_at: 3
+ max_length_message: 2
my_role: ""
inviter:
metadata: "{}"
@@ -8871,13 +8366,13 @@ components:
nickname: nickname
is_blocked_by_me: true
push_trigger_option: null
- member_count: 8
- message_survival_seconds: 1
+ member_count: 7
+ message_survival_seconds: 7
has_ai_bot: true
cover_url: cover_url
is_ephemeral: true
is_exclusive: true
- unread_mention_count: 5
+ unread_mention_count: 6
joined_ts: 5
created_by:
metadata: "{}"
@@ -8889,7 +8384,7 @@ components:
nickname: nickname
is_blocked_by_me: true
has_bot: true
- unread_message_count: 6
+ unread_message_count: 7
channel_url: channel_url
is_broadcast: true
hidden_state: hidden_allow_auto_unhide
@@ -8898,16 +8393,16 @@ components:
is_public: true
name: name
read_receipt:
- key: 2
+ key: 1
sms_fallback:
exclude_user_ids:
- exclude_user_ids
- exclude_user_ids
- wait_seconds: 6
+ wait_seconds: 1
ignore_profanity_filter: true
delivery_receipt: "{}"
is_access_code_required: true
- ts_message_offset: 6
+ ts_message_offset: 1
- metadata: "{}"
count_preference: "false"
data: data
@@ -8919,213 +8414,8 @@ components:
is_hidden: true
created_at: 0
is_super: true
- last_message:
- data: data
- message_events:
- update_last_message: true
- update_mention_count: true
- send_push_notification: send_push_notification
- update_unread_count: true
- custom_type: custom_type
- is_reply_to_channel: true
- created_at: 1
- is_removed: true
- type: type
- req_id: req_id
- file: "{}"
- updated_at: 7
- translations: "{}"
- thread_info: "{}"
- mentioned_users:
- - metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- - metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- channel_type: channel_type
- message_survival_seconds: 2
- silent: true
- parent_message_id: 7
- parent_message_info:
- file:
- file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- custom_type: custom_type
- files:
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- message: message
- type: type
- user:
- metadata: "{}"
- is_active: true
- preferred_languages:
- - preferred_languages
- - preferred_languages
- require_auth_for_profile_image: true
- unread_channel_count: 9
- discovery_keys:
- - discovery_keys
- - discovery_keys
- profile_url: profile_url
- is_created: true
- created_at: 4
- has_ever_logged_in: true
- locale: locale
- unread_message_count: 9
- access_token: access_token
- is_shadow_blocked: true
- user_id: user_id
- nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
- phone_number: phone_number
- is_online: true
- state: ""
- is_hide_me_from_friends: true
- last_seen_at: 5
- ts: 1
- require_auth: true
- message_id: 6
- sorted_metaarray:
- - value:
- - value
- - value
- key: key
- - value:
- - value
- - value
- key: key
- mention_type: mention_type
- message: message
- channel_url: channel_url
- is_op_msg: true
- message_retention_hour: 1
- extended_message_payload:
- suggested_replies:
- - suggested_replies
- - suggested_replies
- custom_view: "{}"
- files:
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- - file_name: file_name
- file_type: file_type
- require_auth: true
- thumbnails:
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- - real_width: 7
- width: 1
- plain_url: plain_url
- real_height: 4
- url: url
- height: 2
- url: url
- file_size: 3
- reactions:
- - updated_at: 9
- user_ids:
- - user_ids
- - user_ids
- key: key
- - updated_at: 9
- user_ids:
- - user_ids
- - user_ids
- key: key
- user:
- metadata: "{}"
- require_auth_for_profile_image: true
- is_active: true
- role: ""
- user_id: user_id
- profile_url: profile_url
- nickname: nickname
- is_blocked_by_me: true
- user_last_read: 3
+ last_message: null
+ user_last_read: 1
is_discoverable: true
is_muted: true
joined_member_count: 5
@@ -9138,11 +8428,11 @@ components:
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -9155,18 +8445,18 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
+ last_seen_at: 3
- metadata: "{}"
is_active: true
is_blocking_me: true
require_auth_for_profile_image: true
role: ""
profile_url: profile_url
- muted_end_at: 3
+ muted_end_at: 2
delivered_ts: 9
do_not_disturb: true
is_muted: true
- read_ts: 6
+ read_ts: 4
is_blocked_by_me: true
friend_name: friend_name
friend_discovery_key:
@@ -9179,8 +8469,8 @@ components:
is_online: true
push_trigger_option: null
state: ""
- last_seen_at: 6
- max_length_message: 6
+ last_seen_at: 3
+ max_length_message: 2
my_role: ""
inviter:
metadata: "{}"
@@ -9192,13 +8482,13 @@ components:
nickname: nickname
is_blocked_by_me: true
push_trigger_option: null
- member_count: 8
- message_survival_seconds: 1
+ member_count: 7
+ message_survival_seconds: 7
has_ai_bot: true
cover_url: cover_url
is_ephemeral: true
is_exclusive: true
- unread_mention_count: 5
+ unread_mention_count: 6
joined_ts: 5
created_by:
metadata: "{}"
@@ -9210,7 +8500,7 @@ components:
nickname: nickname
is_blocked_by_me: true
has_bot: true
- unread_message_count: 6
+ unread_message_count: 7
channel_url: channel_url
is_broadcast: true
hidden_state: hidden_allow_auto_unhide
@@ -9219,16 +8509,16 @@ components:
is_public: true
name: name
read_receipt:
- key: 2
+ key: 1
sms_fallback:
exclude_user_ids:
- exclude_user_ids
- exclude_user_ids
- wait_seconds: 6
+ wait_seconds: 1
ignore_profanity_filter: true
delivery_receipt: "{}"
is_access_code_required: true
- ts_message_offset: 6
+ ts_message_offset: 1
ts: 0
properties:
channels:
@@ -9323,12 +8613,12 @@ components:
update_unread_count: true
custom_type: custom_type
is_reply_to_channel: true
- created_at: 1
+ created_at: 7
is_removed: true
type: type
req_id: req_id
file: "{}"
- updated_at: 7
+ updated_at: 3
translations: "{}"
thread_info: "{}"
mentioned_users:
@@ -9349,67 +8639,67 @@ components:
nickname: nickname
is_blocked_by_me: true
channel_type: channel_type
- message_survival_seconds: 2
+ message_survival_seconds: 9
silent: true
- parent_message_id: 7
+ parent_message_id: 4
parent_message_info:
file:
file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
custom_type: custom_type
files:
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
message: message
type: type
user:
@@ -9419,31 +8709,28 @@ components:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
- ts: 1
+ last_seen_at: 9
+ ts: 5
require_auth: true
- message_id: 6
+ message_id: 1
sorted_metaarray:
- value:
- value
@@ -9457,56 +8744,52 @@ components:
message: message
channel_url: channel_url
is_op_msg: true
- message_retention_hour: 1
- extended_message_payload:
- suggested_replies:
- - suggested_replies
- - suggested_replies
- custom_view: "{}"
+ message_retention_hour: 6
+ extended_message_payload: null
files:
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
reactions:
- - updated_at: 9
+ - updated_at: 2
user_ids:
- user_ids
- user_ids
key: key
- - updated_at: 9
+ - updated_at: 2
user_ids:
- user_ids
- user_ids
@@ -9528,12 +8811,12 @@ components:
update_unread_count: true
custom_type: custom_type
is_reply_to_channel: true
- created_at: 1
+ created_at: 7
is_removed: true
type: type
req_id: req_id
file: "{}"
- updated_at: 7
+ updated_at: 3
translations: "{}"
thread_info: "{}"
mentioned_users:
@@ -9554,67 +8837,67 @@ components:
nickname: nickname
is_blocked_by_me: true
channel_type: channel_type
- message_survival_seconds: 2
+ message_survival_seconds: 9
silent: true
- parent_message_id: 7
+ parent_message_id: 4
parent_message_info:
file:
file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
custom_type: custom_type
files:
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
message: message
type: type
user:
@@ -9624,31 +8907,28 @@ components:
- preferred_languages
- preferred_languages
require_auth_for_profile_image: true
- unread_channel_count: 9
+ unread_channel_count: 6
discovery_keys:
- discovery_keys
- discovery_keys
profile_url: profile_url
is_created: true
- created_at: 4
+ created_at: 9
has_ever_logged_in: true
locale: locale
- unread_message_count: 9
+ unread_message_count: 8
access_token: access_token
is_shadow_blocked: true
user_id: user_id
nickname: nickname
- session_tokens:
- - session_tokens
- - session_tokens
phone_number: phone_number
is_online: true
state: ""
is_hide_me_from_friends: true
- last_seen_at: 5
- ts: 1
+ last_seen_at: 9
+ ts: 5
require_auth: true
- message_id: 6
+ message_id: 1
sorted_metaarray:
- value:
- value
@@ -9662,56 +8942,52 @@ components:
message: message
channel_url: channel_url
is_op_msg: true
- message_retention_hour: 1
- extended_message_payload:
- suggested_replies:
- - suggested_replies
- - suggested_replies
- custom_view: "{}"
+ message_retention_hour: 6
+ extended_message_payload: null
files:
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
- file_name: file_name
file_type: file_type
require_auth: true
thumbnails:
- - real_width: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
- - real_width: 7
+ height: 7
+ - real_width: 1
width: 1
plain_url: plain_url
- real_height: 4
+ real_height: 1
url: url
- height: 2
+ height: 7
url: url
- file_size: 3
+ file_size: 4
reactions:
- - updated_at: 9
+ - updated_at: 2
user_ids:
- user_ids
- user_ids
key: key
- - updated_at: 9
+ - updated_at: 2
user_ids:
- user_ids
- user_ids
@@ -10078,14 +9354,111 @@ components:
type: string
dedup_id:
type: string
- sorted_metaarray:
- items:
- type: object
- type: array
+ sorted_metaarray:
+ items:
+ type: object
+ type: array
+ required:
+ - message
+ - message_type
+ - timestamp
+ type: object
+ SendABotMessageRequest:
+ properties:
+ message_type:
+ description: "Specifies the type of message to send. MESG for text message,\
+ \ FILE for file message."
+ enum:
+ - MESG
+ - FILE
+ type: string
+ channel_url:
+ description: Specifies the URL of the channel to send the message to.
+ type: string
+ message:
+ description: Specifies the content of the message. * This property is required
+ when message_type is MESG.
+ type: string
+ mentioned:
+ description: '* This property is available when message_type is MESG.'
+ items:
+ type: string
+ type: array
+ extended_message_payload:
+ $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload'
+ file:
+ description: "When sending a single file with a message, specifies the data\
+ \ of the file to upload to the Sendbird server in raw binary format. When\
+ \ sending a request containing a file, change the value of the content-type\
+ \ header to multipart/form-data;boundary={your_unique_boundary_string}\
+ \ in the request. * This property is required when message_type is FILE.\
+ \ * This doesn't allow a converted base64-encoded string from a file as\
+ \ its value."
+ format: binary
+ type: string
+ x-ts-type: FileCompat
+ require_auth:
+ description: "Determines whether to require an authentication key to verify\
+ \ if the file is being properly accessed. Only the user who uploaded the\
+ \ file or users who are in the channel where the file was uploaded should\
+ \ have access. The authentication key managed internally by the Sendbird\
+ \ system is generated every time a user logs in to the Sendbird server\
+ \ and is valid for three days starting from the last login. If set to\
+ \ false, Sendbird tries to access a file without any key. To access encrypted\
+ \ files, such as the files in the Sendbird server which are by default\
+ \ encrypted, the property must be set to true. (Default: false) The require_auth\
+ \ parameter only works if the file or URL is managed by Sendbird, which\
+ \ means that when you upload files using multipart format or provide URLs\
+ \ that point to the files hosted on the Sendbird server. However, if the\
+ \ file is hosted on a server or service that is not managed by Sendbird,\
+ \ access control and authentication for the file should be handled by\
+ \ the respective server or service hosting the file. * This property is\
+ \ available when message_type is FILE."
+ type: boolean
+ mention_type:
+ description: '* This property is available when message_type is FILE.'
+ enum:
+ - users
+ - channel
+ type: string
+ mentioned_user_ids:
+ description: '* This property is available when message_type is FILE.'
+ items:
+ type: string
+ type: array
+ is_silent:
+ description: '* This property is available when message_type is FILE.'
+ type: boolean
+ sorted_metaarray:
+ $ref: '#/components/schemas/Sendbird.SortedMetaarray'
+ apns_bundle_id:
+ description: '* This property is available when message_type is FILE.'
+ type: string
+ apple_critical_alert_options:
+ description: '* This property is available when message_type is FILE.'
+ type: object
+ sound:
+ description: '* This property is available when message_type is FILE.'
+ type: string
+ volume:
+ description: '* This property is available when message_type is FILE.'
+ type: number
+ created_at:
+ format: int64
+ type: integer
+ custom_type:
+ type: string
+ data:
+ type: string
+ dedup_id:
+ type: string
+ mark_as_read:
+ type: boolean
+ send_push:
+ type: boolean
required:
- - message
+ - channel_url
- message_type
- - timestamp
type: object
scheduleAnAnnouncement_request_create_channel_options:
example:
@@ -10165,8 +9538,10 @@ components:
createAGroupChannel_request:
properties:
access_code:
+ nullable: true
type: string
block_sdk_user_channel_join:
+ nullable: true
type: boolean
channel_url:
type: string
@@ -10228,6 +9603,7 @@ components:
updateAGroupChannel_request:
properties:
access_code:
+ nullable: true
type: string
cover_file:
format: binary
@@ -10254,6 +9630,7 @@ components:
acceptAnInvitation_request:
properties:
access_code:
+ nullable: true
type: string
user_id:
type: string
@@ -10342,6 +9719,7 @@ components:
description: "This property should be specified if the public group channel\
\ to join requires an access code to users, which means that the is_access_code_required\
\ property of the channel resource is true."
+ nullable: true
type: string
required:
- user_id
@@ -10491,34 +9869,55 @@ components:
- bot_userid
- is_privacy_mode
type: object
- sendABotMessage_request:
+ updateBotByIdData:
properties:
- channel_url:
+ bot_userid:
+ description: Specifies the ID of the bot to update.
type: string
- created_at:
- format: int64
- type: integer
- custom_type:
+ bot_nickname:
+ description: Specifies the bot's nickname. The length is limited to 80 characters.
type: string
- data:
+ bot_profile_url:
+ description: "Specifies the URL of the bot's profile image. The size is\
+ \ limited to 2,048 characters."
type: string
- dedup_id:
+ bot_callback_url:
+ description: "Specifies the server URL where bot is located to receive all\
+ \ events, requests, and data forwarded from an application. For security\
+ \ reasons, it is highly recommended that you use an SSL server. The length\
+ \ is limited to 1,024 characters."
type: string
- extended_message_payload:
- $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload'
- mark_as_read:
+ is_privacy_mode:
+ description: "In the channels of where the bot is a member, determines whether\
+ \ to only forward the messages with the specific conditions to the bot\
+ \ or forword all messages to the bot, for privacy concerns. If set to\
+ \ true, only messages that start with a '/' or mention the bot_userid\
+ \ are forwarded to the bot. If set to false, all messages are forwarded."
type: boolean
- mentioned:
- items:
- type: string
- type: array
- message:
- type: string
- send_push:
+ enable_mark_as_read:
+ description: "Determines whether to mark the bot's message as read upon\
+ \ sending it. (Default: true)"
+ type: boolean
+ show_member:
+ description: "Determines whether to include information about the members\
+ \ of each channel in a callback response. (Default: false)"
type: boolean
+ channel_invitation_preference:
+ description: "Determines whether the bot automatically joins the channel\
+ \ when invited or joins the channel after manually accepting an invitation\
+ \ using the API. If set to 0, it automatically joins the channel. If set\
+ \ to 1, the latter takes place. (Default: 0)"
+ type: integer
required:
- - channel_url
- - message
+ - bot_callback_url
+ - bot_nickname
+ - bot_profile_url
+ - bot_userid
+ - channel_invitation_preference
+ - enable_mark_as_read
+ - is_privacy_mode
+ - show_member
+ title: updateBotByIdData
type: object
joinChannels_request:
properties:
@@ -10534,12 +9933,15 @@ components:
discovery_keys:
items:
type: string
+ nullable: true
type: array
issue_access_token:
type: boolean
metadata:
+ nullable: true
type: object
nickname:
+ nullable: true
type: string
profile_file:
description: "Specifies the file of the user's profile image. An acceptable\
@@ -10549,6 +9951,7 @@ components:
format: binary
type: string
profile_url:
+ default: ""
type: string
user_id:
type: string
@@ -10589,6 +9992,7 @@ components:
discovery_keys:
items:
type: string
+ nullable: true
type: array
is_active:
type: boolean
@@ -10600,15 +10004,18 @@ components:
leave_all_when_deactivated:
type: boolean
nickname:
+ nullable: true
type: string
preferred_languages:
items:
type: string
+ nullable: true
type: array
profile_file:
format: binary
type: string
profile_url:
+ nullable: true
type: string
type: object
chooseAPushNotificationContentTemplate_request:
@@ -10714,6 +10121,7 @@ components:
updateAChannelMetadata_request:
properties:
metadata:
+ nullable: true
type: object
upsert:
type: boolean
@@ -10725,6 +10133,7 @@ components:
include_ts:
type: boolean
metadata:
+ nullable: true
type: object
required:
- metadata
@@ -10736,11 +10145,142 @@ components:
user_id:
type: string
type: object
- sendAMessage_request:
+ sendAMessage_request_push_message_template_oneOf:
+ properties:
+ title:
+ description: "Specifies the title of the custom push notification template.\
+ \ You can customize the title using the variables sender_name and message,\
+ \ which can be later replaced with corresponding real values when the\
+ \ template is sent out as a notification request to FCM, HMS, or APNs."
+ type: string
+ body:
+ description: "Specifies the body of the custom push notification template.\
+ \ You can customize the body using the variables sender_name and message,\
+ \ which can be later replaced with corresponding real values when the\
+ \ template is sent out as a notification request to FCM, HMS, or APNs.\n\
+ If not specified, the body by default contains the message content inside\
+ \ the message property."
+ type: string
+ type: object
+ sendAMessage_request_push_message_template:
+ description: "Specifies the content of a push notification customized for the\
+ \ message. This property only applies to group channels.\nTo choose from a\
+ \ push notification content template within your Sendbird application, specify\
+ \ a string value of default or alternative.\nTo create a new push notification\
+ \ content tailored to the message being sent, use the properties listed below\
+ \ to specify its title and body in a nested object format.\n* This property\
+ \ overrides the application's default push notification content template or\
+ \ the preference chosen by the user. * This property is available when message_type\
+ \ is MESG or ADMM."
oneOf:
- - $ref: '#/components/schemas/sendTextMessageRequestBody'
- - $ref: '#/components/schemas/sendFileMessageRequestBody'
- - $ref: '#/components/schemas/sendAdminMessageRequestBody'
+ - type: string
+ - $ref: '#/components/schemas/sendAMessage_request_push_message_template_oneOf'
+ type: string
+ sendAMessage_request:
+ properties:
+ message_type:
+ enum:
+ - MESG
+ - ADMM
+ - FILE
+ type: string
+ user_id:
+ type: string
+ message:
+ description: |-
+ Specifies the content of the message.
+ * This property is required when message_type is MESG or ADMM.
+ type: string
+ push_message_template:
+ $ref: '#/components/schemas/sendAMessage_request_push_message_template'
+ poll_id:
+ description: |-
+ Specifies the ID of the poll to be associated with the message.
+ * This property is only available for group channels and message_type is MESG.
+ type: integer
+ files:
+ $ref: '#/components/schemas/Sendbird.File'
+ require_auth:
+ description: "Determines whether to require an authentication key to verify\
+ \ if the file is being properly accessed. Only the user who uploaded the\
+ \ file or users who are in the channel where the file was uploaded should\
+ \ have access. The authentication key managed internally by the Sendbird\
+ \ system is generated every time a user logs in to the Sendbird server\
+ \ and is valid for three days starting from the last login. If set to\
+ \ false, Sendbird tries to access a file without any key. To access encrypted\
+ \ files, such as the files in the Sendbird server which are by default\
+ \ encrypted, the property must be set to true. (Default: false)\nThe require_auth\
+ \ parameter only works if the file or URL is managed by Sendbird, which\
+ \ means that when you upload files using multipart format or provide URLs\
+ \ that point to the files hosted on the Sendbird server. However, if the\
+ \ file is hosted on a server or service that is not managed by Sendbird,\
+ \ access control and authentication for the file should be handled by\
+ \ the respective server or service hosting the file."
+ type: boolean
+ thumbnail1:
+ description: |-
+ Specifies the URL of the thumbnail of the file.
+ * This property is available when message_type is FILE.
+ type: string
+ thumbnail2:
+ description: |-
+ Specifies the URL of the thumbnail of the file.
+ * This property is available when message_type is FILE.
+ type: string
+ thumbnail3:
+ description: |-
+ Specifies the URL of the thumbnail of the file.
+ * This property is available when message_type is FILE.
+ type: string
+ thumbnails:
+ description: |-
+ Specifies the URL of the thumbnail of the file.
+ * This property is available when message_type is FILE.
+ items:
+ type: string
+ type: array
+ apns_bundle_id:
+ type: string
+ apple_critical_alert_options:
+ type: object
+ created_at:
+ format: int64
+ type: integer
+ custom_type:
+ type: string
+ data:
+ type: string
+ dedup_id:
+ type: string
+ include_poll_details:
+ type: boolean
+ is_silent:
+ type: boolean
+ mark_as_read:
+ type: boolean
+ mention_type:
+ enum:
+ - users
+ - channel
+ type: string
+ mentioned_user_ids:
+ items:
+ type: string
+ type: array
+ send_push:
+ type: boolean
+ sorted_metaarray:
+ items:
+ $ref: '#/components/schemas/Sendbird_SortedMetaarray_inner'
+ type: array
+ sound:
+ type: string
+ volume:
+ type: number
+ required:
+ - message_type
+ - user_id
+ type: object
updateExtraDataInAMessage_request:
properties:
mode:
@@ -10817,6 +10357,12 @@ components:
update_last_message:
type: boolean
type: object
+ Sendbird_MessageResponse_extended_message_payload:
+ oneOf:
+ - $ref: '#/components/schemas/Sendbird.ExtendedMessagePayload'
+ Sendbird_GroupChannel_last_message:
+ oneOf:
+ - $ref: '#/components/schemas/Sendbird.MessageResponse'
Sendbird_GroupChannelDetail_channel:
example:
cover_url: cover_url
@@ -10858,46 +10404,6 @@ components:
$ref: '#/components/schemas/Sendbird.User'
type: array
type: object
- listBotsResponse_bots_inner_ai:
- example:
- feedback: true
- top_p: 5
- system_message: system_message
- frequency_penalty: 0
- max_tokens: 6
- stream: true
- presence_penalty: 1
- temperature: 5.962133916683182
- backend: backend
- model: model
- instruction_mode: ""
- system_message_for_context_prefix: system_message_for_context_prefix
- properties:
- backend:
- type: string
- feedback:
- type: boolean
- frequency_penalty:
- type: integer
- instruction_mode:
- nullable: true
- max_tokens:
- type: integer
- model:
- type: string
- presence_penalty:
- type: integer
- stream:
- type: boolean
- system_message:
- type: string
- system_message_for_context_prefix:
- type: string
- temperature:
- type: number
- top_p:
- type: integer
- type: object
listBotsResponse_bots_inner_bot:
example:
bot_profile_url: bot_profile_url
@@ -11029,21 +10535,8 @@ components:
toggle_button_type: toggle_button_type
toggle_button_url: toggle_button_url
auto_open: true
- ai:
- feedback: true
- top_p: 5
- system_message: system_message
- frequency_penalty: 0
- max_tokens: 6
- stream: true
- presence_penalty: 1
- temperature: 5.962133916683182
- backend: backend
- model: model
- instruction_mode: ""
- system_message_for_context_prefix: system_message_for_context_prefix
- created_at: 7
- channel_invitation_preference: 2
+ created_at: 6
+ channel_invitation_preference: 0
first_messages:
- data:
suggested_replies:
@@ -11063,8 +10556,6 @@ components:
message: message
enabled: true
properties:
- ai:
- $ref: '#/components/schemas/listBotsResponse_bots_inner_ai'
bot:
$ref: '#/components/schemas/listBotsResponse_bots_inner_bot'
bot_callback_url:
@@ -11089,6 +10580,28 @@ components:
show_member:
type: boolean
type: object
+ viewBotByIdResponse_bot:
+ example:
+ bot_profile_url: bot_profile_url
+ bot_userid: bot_userid
+ bot_metadata: "{}"
+ bot_type: bot_type
+ bot_token: bot_token
+ bot_nickname: bot_nickname
+ properties:
+ bot_token:
+ type: string
+ bot_profile_url:
+ type: string
+ bot_userid:
+ type: string
+ bot_nickname:
+ type: string
+ bot_type:
+ type: string
+ bot_metadata:
+ type: object
+ type: object
createABotResponse_bot:
example:
feedback: true
@@ -11123,27 +10636,6 @@ components:
required:
- bot_userid
type: object
- createABotResponse_bot_style:
- example:
- color:
- accent_color: accent_color
- bot_message_color: bot_message_color
- theme: theme
- toggle_button_type: toggle_button_type
- toggle_button_url: toggle_button_url
- auto_open: true
- properties:
- auto_open:
- type: boolean
- color:
- $ref: '#/components/schemas/listBotsResponse_bots_inner_bot_style_color'
- toggle_button_type:
- nullable: true
- type: string
- toggle_button_url:
- nullable: false
- type: string
- type: object
scheduleAnAnnouncementResponse_message:
example:
message_retention_hour: 1
@@ -11166,23 +10658,6 @@ components:
user_id:
type: string
type: object
- sendTextMessageRequestBody_push_message_template_oneOf:
- properties:
- title:
- description: "Specifies the title of the custom push notification template.\
- \ You can customize the title using the variables sender_name and message,\
- \ which can be later replaced with corresponding real values when the\
- \ template is sent out as a notification request to FCM, HMS, or APNs."
- type: string
- body:
- description: "Specifies the body of the custom push notification template.\
- \ You can customize the body using the variables sender_name and message,\
- \ which can be later replaced with corresponding real values when the\
- \ template is sent out as a notification request to FCM, HMS, or APNs.\n\
- If not specified, the body by default contains the message content inside\
- \ the message property."
- type: string
- type: object
sendTextMessageRequestBody_push_message_template:
description: "Specifies the content of a push notification customized for the\
\ message. This property only applies to group channels.\nTo choose from a\
@@ -11194,7 +10669,7 @@ components:
\ the preference chosen by the user."
oneOf:
- type: string
- - $ref: '#/components/schemas/sendTextMessageRequestBody_push_message_template_oneOf'
+ - $ref: '#/components/schemas/sendAMessage_request_push_message_template_oneOf'
type: string
MigrateMessagesRequest_messages_inner:
oneOf:
diff --git a/build.gradle b/build.gradle
index 48146bce..eb1344ab 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'com.diffplug.spotless'
group = 'org.sendbird'
-version = '2.0.0'
+version = '2.1.1'
buildscript {
repositories {
diff --git a/build.sbt b/build.sbt
index c7a9adbc..e15db1b6 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "org.sendbird",
name := "sendbird-platform-sdk",
- version := "2.0.0",
+ version := "2.1.1",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
Compile / javacOptions ++= Seq("-Xlint:deprecation"),
diff --git a/docs/BotApi.md b/docs/BotApi.md
index 8216390f..ceea5ed3 100644
--- a/docs/BotApi.md
+++ b/docs/BotApi.md
@@ -5,11 +5,14 @@ All URIs are relative to *https://api-APP_ID.sendbird.com*
| Method | HTTP request | Description |
|------------- | ------------- | -------------|
| [**createABot**](BotApi.md#createABot) | **POST** /v3/bots | Create a bot |
+| [**deleteBotById**](BotApi.md#deleteBotById) | **DELETE** /v3/bots/{bot_userid} | Delete a bot |
| [**joinChannels**](BotApi.md#joinChannels) | **POST** /v3/bots/{bot_userid}/channels | Join channels |
| [**leaveAGroupChannel**](BotApi.md#leaveAGroupChannel) | **DELETE** /v3/bots/{bot_userid}/channels/{channel_url} | Leave channels - When leaving a specific channel |
| [**leaveGroupChannels**](BotApi.md#leaveGroupChannels) | **DELETE** /v3/bots/{bot_userid}/channels | Leave channels - When leaving all channels |
| [**listBots**](BotApi.md#listBots) | **GET** /v3/bots | List bots |
| [**sendABotMessage**](BotApi.md#sendABotMessage) | **POST** /v3/bots/{bot_userid}/send | Send a bot's message |
+| [**updateBotById**](BotApi.md#updateBotById) | **PUT** /v3/bots/{bot_userid} | Update a bot |
+| [**viewBotById**](BotApi.md#viewBotById) | **GET** /v3/bots/{bot_userid} | View a bot |
@@ -90,6 +93,80 @@ No authorization required
| **200** | Successful response | - |
+## deleteBotById
+
+> Object deleteBotById(botUserid).apiToken(apiToken).execute();
+
+Delete a bot
+
+## Delete a bot
+
+Deletes a bot from an application.
+
+https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-delete-a-bot
+----------------------------
+
+### Example
+
+```java
+// Import classes:
+import org.sendbird.client.ApiClient;
+import org.sendbird.client.ApiException;
+import org.sendbird.client.Configuration;
+import org.sendbird.client.model.*;
+import org.sendbird.client.api.BotApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://api-APP_ID.sendbird.com");
+
+ BotApi apiInstance = new BotApi(defaultClient);
+ String botUserid = "botUserid_example"; // String |
+ String apiToken = "{{API_TOKEN}}"; // String |
+ try {
+ Object result = api.deleteBotById(botUserid)
+ .apiToken(apiToken)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling BotApi#deleteBotById");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **botUserid** | **String**| | |
+| **apiToken** | **String**| | [optional] |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful response | - |
+
+
## joinChannels
> SendbirdGroupChannelDetail joinChannels(botUserid).apiToken(apiToken).joinChannelsRequest(joinChannelsRequest).execute();
@@ -393,7 +470,7 @@ No authorization required
## sendABotMessage
-> SendbirdMessageResponse sendABotMessage(botUserid).apiToken(apiToken).sendABotMessageRequest(sendABotMessageRequest).execute();
+> SendABotMessageResponse sendABotMessage(botUserid).messageType(messageType).channelUrl(channelUrl).apiToken(apiToken).message(message).mentioned(mentioned).extendedMessagePayload(extendedMessagePayload)._file(_file).requireAuth(requireAuth).mentionType(mentionType).mentionedUserIds(mentionedUserIds).isSilent(isSilent).sortedMetaarray(sortedMetaarray).apnsBundleId(apnsBundleId).appleCriticalAlertOptions(appleCriticalAlertOptions).sound(sound).volume(volume).createdAt(createdAt).customType(customType).data(data).dedupId(dedupId).markAsRead(markAsRead).sendPush(sendPush).execute();
Send a bot's message
@@ -410,6 +487,8 @@ Description: Specifies the ID of the bot to send a message.
### Example
```java
+import java.io.File;
+import java.math.BigDecimal;
// Import classes:
import org.sendbird.client.ApiClient;
import org.sendbird.client.ApiException;
@@ -424,12 +503,52 @@ public class Example {
BotApi apiInstance = new BotApi(defaultClient);
String botUserid = "botUserid_example"; // String | (Required)
+ String messageType = "MESG"; // String | Specifies the type of message to send. MESG for text message, FILE for file message.
+ String channelUrl = "channelUrl_example"; // String | Specifies the URL of the channel to send the message to.
String apiToken = "{{API_TOKEN}}"; // String |
- SendABotMessageRequest sendABotMessageRequest = new SendABotMessageRequest(); // SendABotMessageRequest |
+ String message = "message_example"; // String | Specifies the content of the message. * This property is required when message_type is MESG.
+ List mentioned = Arrays.asList(); // List | * This property is available when message_type is MESG.
+ SendbirdExtendedMessagePayload extendedMessagePayload = new SendbirdExtendedMessagePayload(); // SendbirdExtendedMessagePayload |
+ File _file = new File("/path/to/file"); // File | When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value.
+ Boolean requireAuth = true; // Boolean | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE.
+ String mentionType = "users"; // String | * This property is available when message_type is FILE.
+ List mentionedUserIds = Arrays.asList(); // List | * This property is available when message_type is FILE.
+ Boolean isSilent = true; // Boolean | * This property is available when message_type is FILE.
+ List sortedMetaarray = Arrays.asList(); // List |
+ String apnsBundleId = "apnsBundleId_example"; // String | * This property is available when message_type is FILE.
+ Object appleCriticalAlertOptions = null; // Object | * This property is available when message_type is FILE.
+ String sound = "sound_example"; // String | * This property is available when message_type is FILE.
+ BigDecimal volume = new BigDecimal(78); // BigDecimal | * This property is available when message_type is FILE.
+ Long createdAt = 56L; // Long |
+ String customType = "customType_example"; // String |
+ String data = "data_example"; // String |
+ String dedupId = "dedupId_example"; // String |
+ Boolean markAsRead = true; // Boolean |
+ Boolean sendPush = true; // Boolean |
try {
- SendbirdMessageResponse result = api.sendABotMessage(botUserid)
+ SendABotMessageResponse result = api.sendABotMessage(botUserid)
+ .messageType(messageType)
+ .channelUrl(channelUrl)
.apiToken(apiToken)
- .sendABotMessageRequest(sendABotMessageRequest)
+ .message(message)
+ .mentioned(mentioned)
+ .extendedMessagePayload(extendedMessagePayload)
+ ._file(_file)
+ .requireAuth(requireAuth)
+ .mentionType(mentionType)
+ .mentionedUserIds(mentionedUserIds)
+ .isSilent(isSilent)
+ .sortedMetaarray(sortedMetaarray)
+ .apnsBundleId(apnsBundleId)
+ .appleCriticalAlertOptions(appleCriticalAlertOptions)
+ .sound(sound)
+ .volume(volume)
+ .createdAt(createdAt)
+ .customType(customType)
+ .data(data)
+ .dedupId(dedupId)
+ .markAsRead(markAsRead)
+ .sendPush(sendPush)
.execute();
System.out.println(result);
} catch (ApiException e) {
@@ -449,12 +568,109 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **botUserid** | **String**| (Required) | |
+| **messageType** | **String**| Specifies the type of message to send. MESG for text message, FILE for file message. | [enum: MESG, FILE] |
+| **channelUrl** | **String**| Specifies the URL of the channel to send the message to. | |
+| **apiToken** | **String**| | [optional] |
+| **message** | **String**| Specifies the content of the message. * This property is required when message_type is MESG. | [optional] |
+| **mentioned** | **List<String>**| * This property is available when message_type is MESG. | [optional] |
+| **extendedMessagePayload** | [**SendbirdExtendedMessagePayload**](SendbirdExtendedMessagePayload.md)| | [optional] |
+| **_file** | **File**| When sending a single file with a message, specifies the data of the file to upload to the Sendbird server in raw binary format. When sending a request containing a file, change the value of the content-type header to multipart/form-data;boundary={your_unique_boundary_string} in the request. * This property is required when message_type is FILE. * This doesn't allow a converted base64-encoded string from a file as its value. | [optional] |
+| **requireAuth** | **Boolean**| Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. * This property is available when message_type is FILE. | [optional] |
+| **mentionType** | **String**| * This property is available when message_type is FILE. | [optional] [enum: users, channel] |
+| **mentionedUserIds** | **List<String>**| * This property is available when message_type is FILE. | [optional] |
+| **isSilent** | **Boolean**| * This property is available when message_type is FILE. | [optional] |
+| **sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md)| | [optional] |
+| **apnsBundleId** | **String**| * This property is available when message_type is FILE. | [optional] |
+| **appleCriticalAlertOptions** | **Object**| * This property is available when message_type is FILE. | [optional] |
+| **sound** | **String**| * This property is available when message_type is FILE. | [optional] |
+| **volume** | **BigDecimal**| * This property is available when message_type is FILE. | [optional] |
+| **createdAt** | **Long**| | [optional] |
+| **customType** | **String**| | [optional] |
+| **data** | **String**| | [optional] |
+| **dedupId** | **String**| | [optional] |
+| **markAsRead** | **Boolean**| | [optional] |
+| **sendPush** | **Boolean**| | [optional] |
+
+### Return type
+
+[**SendABotMessageResponse**](SendABotMessageResponse.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful response | - |
+
+
+## updateBotById
+
+> UpdateBotByIdResponse updateBotById(botUserid).apiToken(apiToken).updateBotByIdData(updateBotByIdData).execute();
+
+Update a bot
+
+## Update a bot
+
+Updates information on a bot.
+
+https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-update-a-bot
+----------------------------
+
+### Example
+
+```java
+// Import classes:
+import org.sendbird.client.ApiClient;
+import org.sendbird.client.ApiException;
+import org.sendbird.client.Configuration;
+import org.sendbird.client.model.*;
+import org.sendbird.client.api.BotApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://api-APP_ID.sendbird.com");
+
+ BotApi apiInstance = new BotApi(defaultClient);
+ String botUserid = "botUserid_example"; // String |
+ String apiToken = "{{API_TOKEN}}"; // String |
+ UpdateBotByIdData updateBotByIdData = new UpdateBotByIdData(); // UpdateBotByIdData |
+ try {
+ UpdateBotByIdResponse result = api.updateBotById(botUserid)
+ .apiToken(apiToken)
+ .updateBotByIdData(updateBotByIdData)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling BotApi#updateBotById");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **botUserid** | **String**| | |
| **apiToken** | **String**| | [optional] |
-| **sendABotMessageRequest** | [**SendABotMessageRequest**](SendABotMessageRequest.md)| | [optional] |
+| **updateBotByIdData** | [**UpdateBotByIdData**](UpdateBotByIdData.md)| | [optional] |
### Return type
-[**SendbirdMessageResponse**](SendbirdMessageResponse.md)
+[**UpdateBotByIdResponse**](UpdateBotByIdResponse.md)
### Authorization
@@ -470,3 +686,77 @@ No authorization required
|-------------|-------------|------------------|
| **200** | Successful response | - |
+
+## viewBotById
+
+> ViewBotByIdResponse viewBotById(botUserid).apiToken(apiToken).execute();
+
+View a bot
+
+## View a bot
+
+Retrieves information on a bot.
+
+https://sendbird.com/docs/chat/v3/platform-api/guides/bot-interface#2-view-a-bot
+----------------------------
+
+### Example
+
+```java
+// Import classes:
+import org.sendbird.client.ApiClient;
+import org.sendbird.client.ApiException;
+import org.sendbird.client.Configuration;
+import org.sendbird.client.model.*;
+import org.sendbird.client.api.BotApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://api-APP_ID.sendbird.com");
+
+ BotApi apiInstance = new BotApi(defaultClient);
+ String botUserid = "botUserid_example"; // String |
+ String apiToken = "{{API_TOKEN}}"; // String |
+ try {
+ ViewBotByIdResponse result = api.viewBotById(botUserid)
+ .apiToken(apiToken)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling BotApi#viewBotById");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **botUserid** | **String**| | |
+| **apiToken** | **String**| | [optional] |
+
+### Return type
+
+[**ViewBotByIdResponse**](ViewBotByIdResponse.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful response | - |
+
diff --git a/docs/CreateABotResponse.md b/docs/CreateABotResponse.md
index 4f3550f3..2c219e79 100644
--- a/docs/CreateABotResponse.md
+++ b/docs/CreateABotResponse.md
@@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**bot** | [**CreateABotResponseBot**](CreateABotResponseBot.md) | | |
|**botCallbackUrl** | **String** | | [optional] |
-|**botStyle** | [**CreateABotResponseBotStyle**](CreateABotResponseBotStyle.md) | | [optional] |
+|**botStyle** | [**ListBotsResponseBotsInnerBotStyle**](ListBotsResponseBotsInnerBotStyle.md) | | [optional] |
|**channelInvitationPreference** | **Integer** | | [optional] |
|**createdAt** | **Long** | | [optional] |
|**enableMarkAsRead** | **Boolean** | | [optional] |
diff --git a/docs/CreateABotResponseBotStyle.md b/docs/CreateABotResponseBotStyle.md
deleted file mode 100644
index f29c86ad..00000000
--- a/docs/CreateABotResponseBotStyle.md
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-# CreateABotResponseBotStyle
-
-
-## Properties
-
-| Name | Type | Description | Notes |
-|------------ | ------------- | ------------- | -------------|
-|**autoOpen** | **Boolean** | | [optional] |
-|**color** | [**ListBotsResponseBotsInnerBotStyleColor**](ListBotsResponseBotsInnerBotStyleColor.md) | | [optional] |
-|**toggleButtonType** | **String** | | [optional] |
-|**toggleButtonUrl** | **String** | | [optional] |
-
-
-
diff --git a/docs/GetAGroupChannelResponse.md b/docs/GetAGroupChannelResponse.md
index 6dbdcde1..3fb5998f 100644
--- a/docs/GetAGroupChannelResponse.md
+++ b/docs/GetAGroupChannelResponse.md
@@ -37,7 +37,7 @@
|**isSuper** | **Boolean** | | [optional] |
|**joinedMemberCount** | **Integer** | | [optional] |
|**joinedTs** | **Long** | | [optional] |
-|**lastMessage** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] |
+|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] |
|**maxLengthMessage** | **Integer** | | [optional] |
|**memberCount** | **Integer** | | [optional] |
|**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] |
diff --git a/docs/InviteAsMembersResponse.md b/docs/InviteAsMembersResponse.md
index 205a7e00..a27a9e1b 100644
--- a/docs/InviteAsMembersResponse.md
+++ b/docs/InviteAsMembersResponse.md
@@ -36,7 +36,7 @@
|**isSuper** | **Boolean** | | [optional] |
|**joinedMemberCount** | **Integer** | | [optional] |
|**joinedTs** | **Long** | | [optional] |
-|**lastMessage** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] |
+|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] |
|**maxLengthMessage** | **Integer** | | [optional] |
|**memberCount** | **Integer** | | [optional] |
|**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] |
diff --git a/docs/ListBotsResponseBotsInner.md b/docs/ListBotsResponseBotsInner.md
index 8e9229ed..35620fae 100644
--- a/docs/ListBotsResponseBotsInner.md
+++ b/docs/ListBotsResponseBotsInner.md
@@ -7,7 +7,6 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
-|**ai** | [**ListBotsResponseBotsInnerAi**](ListBotsResponseBotsInnerAi.md) | | [optional] |
|**bot** | [**ListBotsResponseBotsInnerBot**](ListBotsResponseBotsInnerBot.md) | | [optional] |
|**botCallbackUrl** | **String** | | [optional] |
|**botStyle** | [**ListBotsResponseBotsInnerBotStyle**](ListBotsResponseBotsInnerBotStyle.md) | | [optional] |
diff --git a/docs/ListBotsResponseBotsInnerAi.md b/docs/ListBotsResponseBotsInnerAi.md
deleted file mode 100644
index dbf7e48d..00000000
--- a/docs/ListBotsResponseBotsInnerAi.md
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-# ListBotsResponseBotsInnerAi
-
-
-## Properties
-
-| Name | Type | Description | Notes |
-|------------ | ------------- | ------------- | -------------|
-|**backend** | **String** | | [optional] |
-|**feedback** | **Boolean** | | [optional] |
-|**frequencyPenalty** | **Integer** | | [optional] |
-|**instructionMode** | **Object** | | [optional] |
-|**maxTokens** | **Integer** | | [optional] |
-|**model** | **String** | | [optional] |
-|**presencePenalty** | **Integer** | | [optional] |
-|**stream** | **Boolean** | | [optional] |
-|**systemMessage** | **String** | | [optional] |
-|**systemMessageForContextPrefix** | **String** | | [optional] |
-|**temperature** | **BigDecimal** | | [optional] |
-|**topP** | **Integer** | | [optional] |
-
-
-
diff --git a/docs/MessageApi.md b/docs/MessageApi.md
index eca2d7b9..3a76fd5c 100644
--- a/docs/MessageApi.md
+++ b/docs/MessageApi.md
@@ -49,7 +49,7 @@ public class Example {
MessageApi apiInstance = new MessageApi(defaultClient);
String channelType = "open_channels"; // String | (Required)
String channelUrl = "channelUrl_example"; // String | (Required)
- String messageId = "messageId_example"; // String | (Required)
+ Long messageId = 56L; // Long | (Required)
String apiToken = "{{API_TOKEN}}"; // String |
AddExtraDataToAMessageRequest addExtraDataToAMessageRequest = new AddExtraDataToAMessageRequest(); // AddExtraDataToAMessageRequest |
try {
@@ -76,7 +76,7 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **channelType** | **String**| (Required) | [enum: open_channels, group_channels] |
| **channelUrl** | **String**| (Required) | |
-| **messageId** | **String**| (Required) | |
+| **messageId** | **Long**| (Required) | |
| **apiToken** | **String**| | [optional] |
| **addExtraDataToAMessageRequest** | [**AddExtraDataToAMessageRequest**](AddExtraDataToAMessageRequest.md)| | [optional] |
@@ -130,7 +130,7 @@ public class Example {
MessageApi apiInstance = new MessageApi(defaultClient);
String channelType = "open_channels"; // String | (Required)
String channelUrl = "channelUrl_example"; // String | (Required)
- String messageId = "messageId_example"; // String | (Required)
+ Long messageId = 56L; // Long | (Required)
String apiToken = "{{API_TOKEN}}"; // String |
try {
Object result = api.deleteAMessage(channelType, channelUrl, messageId)
@@ -155,7 +155,7 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **channelType** | **String**| (Required) | [enum: open_channels, group_channels] |
| **channelUrl** | **String**| (Required) | |
-| **messageId** | **String**| (Required) | |
+| **messageId** | **Long**| (Required) | |
| **apiToken** | **String**| | [optional] |
### Return type
@@ -218,7 +218,7 @@ public class Example {
MessageApi apiInstance = new MessageApi(defaultClient);
String channelType = "open_channels"; // String | (Required)
String channelUrl = "channelUrl_example"; // String | (Required)
- String messageId = "messageId_example"; // String | (Required)
+ Long messageId = 56L; // Long | (Required)
Boolean includeReactions = true; // Boolean |
Boolean includeThreadInfo = true; // Boolean |
Boolean includeParentMessageInfo = true; // Boolean |
@@ -253,7 +253,7 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **channelType** | **String**| (Required) | [enum: open_channels, group_channels] |
| **channelUrl** | **String**| (Required) | |
-| **messageId** | **String**| (Required) | |
+| **messageId** | **Long**| (Required) | |
| **includeReactions** | **Boolean**| | [optional] |
| **includeThreadInfo** | **Boolean**| | [optional] |
| **includeParentMessageInfo** | **Boolean**| | [optional] |
@@ -695,7 +695,7 @@ public class Example {
MessageApi apiInstance = new MessageApi(defaultClient);
String channelType = "open_channels"; // String | (Required)
String channelUrl = "channelUrl_example"; // String | (Required)
- String messageId = "messageId_example"; // String | (Required)
+ Long messageId = 56L; // Long | (Required)
String keys = "keys_example"; // String |
String apiToken = "{{API_TOKEN}}"; // String |
try {
@@ -722,7 +722,7 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **channelType** | **String**| (Required) | [enum: open_channels, group_channels] |
| **channelUrl** | **String**| (Required) | |
-| **messageId** | **String**| (Required) | |
+| **messageId** | **Long**| (Required) | |
| **keys** | **String**| | [optional] |
| **apiToken** | **String**| | [optional] |
@@ -856,7 +856,7 @@ public class Example {
MessageApi apiInstance = new MessageApi(defaultClient);
String channelType = "open_channels"; // String | (Required)
String channelUrl = "channelUrl_example"; // String | (Required)
- String messageId = "messageId_example"; // String | (Required)
+ Long messageId = 56L; // Long | (Required)
String apiToken = "{{API_TOKEN}}"; // String |
UpdateAMessageRequest updateAMessageRequest = new UpdateAMessageRequest(); // UpdateAMessageRequest |
try {
@@ -883,7 +883,7 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **channelType** | **String**| (Required) | [enum: open_channels, group_channels] |
| **channelUrl** | **String**| (Required) | |
-| **messageId** | **String**| (Required) | |
+| **messageId** | **Long**| (Required) | |
| **apiToken** | **String**| | [optional] |
| **updateAMessageRequest** | [**UpdateAMessageRequest**](UpdateAMessageRequest.md)| | [optional] |
@@ -937,7 +937,7 @@ public class Example {
MessageApi apiInstance = new MessageApi(defaultClient);
String channelType = "open_channels"; // String | (Required)
String channelUrl = "channelUrl_example"; // String | (Required)
- String messageId = "messageId_example"; // String | (Required)
+ Long messageId = 56L; // Long | (Required)
String apiToken = "{{API_TOKEN}}"; // String |
UpdateExtraDataInAMessageRequest updateExtraDataInAMessageRequest = new UpdateExtraDataInAMessageRequest(); // UpdateExtraDataInAMessageRequest |
try {
@@ -964,7 +964,7 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **channelType** | **String**| (Required) | [enum: open_channels, group_channels] |
| **channelUrl** | **String**| (Required) | |
-| **messageId** | **String**| (Required) | |
+| **messageId** | **Long**| (Required) | |
| **apiToken** | **String**| | [optional] |
| **updateExtraDataInAMessageRequest** | [**UpdateExtraDataInAMessageRequest**](UpdateExtraDataInAMessageRequest.md)| | [optional] |
diff --git a/docs/ModerationApi.md b/docs/ModerationApi.md
index 388aba1c..b5213647 100644
--- a/docs/ModerationApi.md
+++ b/docs/ModerationApi.md
@@ -24,15 +24,11 @@ A user can block another user if the user doesn't wish to receive any messages o
Sendbird application provides two blocking options: include or exclude blocked users when sending invitations, and turn on or off notifications from blocked users. [Explicit and classic block modes](https://sendbird.com/docs/chat/platform-api/v3/deprecated#2-explicit-and-classic-block-modes) have been deprecated and are only supported for customers who started using them before they were deprecated.
-- **Include or exclude blocked users when sending invitations**: Determines whether or not to automatically filter out blocked users when a user invites a group of users to a new group channel. By default, blocked users are included when sending invitations. The value of this option can be changed by Sendbird if your Sendbird application isn't integrated to the client app. If you want to change the value, [contact our sales team](https://get.sendbird.com/talk-to-sales.html).
+- **Include or exclude blocked users when sending invitations**: Determines whether or not to automatically filter out blocked users when a user invites a group of users to a new group channel. By default, blocked users are included when sending invitations. The value of this option can be changed by Sendbird if your Sendbird application isn't integrated with the client app. If you want to change the value, [contact our sales team](https://get.sendbird.com/talk-to-sales.html).
- **Turn on or off notifications from blocked users**: Determines whether or not to receive message notifications from the blocked user in a specific 1-to-N group channel where they are both members. By default, a user doesn't receive notifications from blocked users. The value of this option can be set individually per channel. If you want to use this option, [contact our sales team](https://get.sendbird.com/talk-to-sales.html).
-
-
-> **Note**: To learn more about other available moderation tools, see [Moderation Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions).
-
-The following tables explain what happens to a user's chat experience when the user blocks another user in a 1-to-1 or 1-to-N group channel. In the case of a 1-to-1 group channel, the block mode is only maintained with the original members. If other than the original members are added, the rules for 1-to-N group channel begin to apply.
+> **Note**: To learn more about other available moderation tools, see [Moderation Overview](https://sendbird.com/docs/chat/platform-api/v3/moderation/moderation-overview#2-actions). The following tables explain what happens to a user's chat experience when the user blocks another user in a 1-to-1 or 1-to-N group channel. In the case of a 1-to-1 group channel, the block mode is only maintained with the original members. If other than the original members are added, the rules for 1-to-N group channel begin to apply.
[https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users](https://sendbird.com/docs/chat/platform-api/v3/moderation/blocking-users/block-users#1-block-users)
diff --git a/docs/SendABotMessageRequest.md b/docs/SendABotMessageRequest.md
deleted file mode 100644
index c5a08fea..00000000
--- a/docs/SendABotMessageRequest.md
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-# SendABotMessageRequest
-
-
-## Properties
-
-| Name | Type | Description | Notes |
-|------------ | ------------- | ------------- | -------------|
-|**channelUrl** | **String** | | |
-|**createdAt** | **Long** | | [optional] |
-|**customType** | **String** | | [optional] |
-|**data** | **String** | | [optional] |
-|**dedupId** | **String** | | [optional] |
-|**extendedMessagePayload** | [**SendbirdExtendedMessagePayload**](SendbirdExtendedMessagePayload.md) | | [optional] |
-|**markAsRead** | **Boolean** | | [optional] |
-|**mentioned** | **List<String>** | | [optional] |
-|**message** | **String** | | |
-|**sendPush** | **Boolean** | | [optional] |
-
-
-
diff --git a/docs/SendABotMessageResponse.md b/docs/SendABotMessageResponse.md
new file mode 100644
index 00000000..4b4decb2
--- /dev/null
+++ b/docs/SendABotMessageResponse.md
@@ -0,0 +1,13 @@
+
+
+# SendABotMessageResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**message** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] |
+
+
+
diff --git a/docs/SendAMessageRequest.md b/docs/SendAMessageRequest.md
index ceacf862..d11a9434 100644
--- a/docs/SendAMessageRequest.md
+++ b/docs/SendAMessageRequest.md
@@ -2,45 +2,56 @@
# SendAMessageRequest
-## oneOf schemas
-* [SendAdminMessageRequestBody](SendAdminMessageRequestBody.md)
-* [SendFileMessageRequestBody](SendFileMessageRequestBody.md)
-* [SendTextMessageRequestBody](SendTextMessageRequestBody.md)
-
-## Example
-```java
-// Import classes:
-import org.openapitools.client.model.SendAMessageRequest;
-import org.openapitools.client.model.SendAdminMessageRequestBody;
-import org.openapitools.client.model.SendFileMessageRequestBody;
-import org.openapitools.client.model.SendTextMessageRequestBody;
-
-public class Example {
- public static void main(String[] args) {
- SendAMessageRequest exampleSendAMessageRequest = new SendAMessageRequest();
-
- // create a new SendAdminMessageRequestBody
- SendAdminMessageRequestBody exampleSendAdminMessageRequestBody = new SendAdminMessageRequestBody();
- // set SendAMessageRequest to SendAdminMessageRequestBody
- exampleSendAMessageRequest.setActualInstance(exampleSendAdminMessageRequestBody);
- // to get back the SendAdminMessageRequestBody set earlier
- SendAdminMessageRequestBody testSendAdminMessageRequestBody = (SendAdminMessageRequestBody) exampleSendAMessageRequest.getActualInstance();
-
- // create a new SendFileMessageRequestBody
- SendFileMessageRequestBody exampleSendFileMessageRequestBody = new SendFileMessageRequestBody();
- // set SendAMessageRequest to SendFileMessageRequestBody
- exampleSendAMessageRequest.setActualInstance(exampleSendFileMessageRequestBody);
- // to get back the SendFileMessageRequestBody set earlier
- SendFileMessageRequestBody testSendFileMessageRequestBody = (SendFileMessageRequestBody) exampleSendAMessageRequest.getActualInstance();
-
- // create a new SendTextMessageRequestBody
- SendTextMessageRequestBody exampleSendTextMessageRequestBody = new SendTextMessageRequestBody();
- // set SendAMessageRequest to SendTextMessageRequestBody
- exampleSendAMessageRequest.setActualInstance(exampleSendTextMessageRequestBody);
- // to get back the SendTextMessageRequestBody set earlier
- SendTextMessageRequestBody testSendTextMessageRequestBody = (SendTextMessageRequestBody) exampleSendAMessageRequest.getActualInstance();
- }
-}
-```
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**messageType** | [**MessageTypeEnum**](#MessageTypeEnum) | | |
+|**userId** | **String** | | |
+|**message** | **String** | Specifies the content of the message. * This property is required when message_type is MESG or ADMM. | [optional] |
+|**pushMessageTemplate** | [**SendAMessageRequestPushMessageTemplate**](SendAMessageRequestPushMessageTemplate.md) | | [optional] |
+|**pollId** | **Integer** | Specifies the ID of the poll to be associated with the message. * This property is only available for group channels and message_type is MESG. | [optional] |
+|**files** | [**SendbirdFile**](SendbirdFile.md) | | [optional] |
+|**requireAuth** | **Boolean** | Determines whether to require an authentication key to verify if the file is being properly accessed. Only the user who uploaded the file or users who are in the channel where the file was uploaded should have access. The authentication key managed internally by the Sendbird system is generated every time a user logs in to the Sendbird server and is valid for three days starting from the last login. If set to false, Sendbird tries to access a file without any key. To access encrypted files, such as the files in the Sendbird server which are by default encrypted, the property must be set to true. (Default: false) The require_auth parameter only works if the file or URL is managed by Sendbird, which means that when you upload files using multipart format or provide URLs that point to the files hosted on the Sendbird server. However, if the file is hosted on a server or service that is not managed by Sendbird, access control and authentication for the file should be handled by the respective server or service hosting the file. | [optional] |
+|**thumbnail1** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] |
+|**thumbnail2** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] |
+|**thumbnail3** | **String** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] |
+|**thumbnails** | **List<String>** | Specifies the URL of the thumbnail of the file. * This property is available when message_type is FILE. | [optional] |
+|**apnsBundleId** | **String** | | [optional] |
+|**appleCriticalAlertOptions** | **Object** | | [optional] |
+|**createdAt** | **Long** | | [optional] |
+|**customType** | **String** | | [optional] |
+|**data** | **String** | | [optional] |
+|**dedupId** | **String** | | [optional] |
+|**includePollDetails** | **Boolean** | | [optional] |
+|**isSilent** | **Boolean** | | [optional] |
+|**markAsRead** | **Boolean** | | [optional] |
+|**mentionType** | [**MentionTypeEnum**](#MentionTypeEnum) | | [optional] |
+|**mentionedUserIds** | **List<String>** | | [optional] |
+|**sendPush** | **Boolean** | | [optional] |
+|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] |
+|**sound** | **String** | | [optional] |
+|**volume** | **BigDecimal** | | [optional] |
+
+
+
+## Enum: MessageTypeEnum
+
+| Name | Value |
+|---- | -----|
+| MESG | "MESG" |
+| ADMM | "ADMM" |
+| FILE | "FILE" |
+
+
+
+## Enum: MentionTypeEnum
+
+| Name | Value |
+|---- | -----|
+| USERS | "users" |
+| CHANNEL | "channel" |
+
diff --git a/docs/SendAMessageRequestPushMessageTemplate.md b/docs/SendAMessageRequestPushMessageTemplate.md
new file mode 100644
index 00000000..d2d5dcf6
--- /dev/null
+++ b/docs/SendAMessageRequestPushMessageTemplate.md
@@ -0,0 +1,39 @@
+
+
+# SendAMessageRequestPushMessageTemplate
+
+Specifies the content of a push notification customized for the message. This property only applies to group channels. To choose from a push notification content template within your Sendbird application, specify a string value of default or alternative. To create a new push notification content tailored to the message being sent, use the properties listed below to specify its title and body in a nested object format. * This property overrides the application's default push notification content template or the preference chosen by the user. * This property is available when message_type is MESG or ADMM.
+
+## oneOf schemas
+* [SendAMessageRequestPushMessageTemplateOneOf](SendAMessageRequestPushMessageTemplateOneOf.md)
+* [String](String.md)
+
+## Example
+```java
+// Import classes:
+import org.openapitools.client.model.SendAMessageRequestPushMessageTemplate;
+import org.openapitools.client.model.SendAMessageRequestPushMessageTemplateOneOf;
+import org.openapitools.client.model.String;
+
+public class Example {
+ public static void main(String[] args) {
+ SendAMessageRequestPushMessageTemplate exampleSendAMessageRequestPushMessageTemplate = new SendAMessageRequestPushMessageTemplate();
+
+ // create a new SendAMessageRequestPushMessageTemplateOneOf
+ SendAMessageRequestPushMessageTemplateOneOf exampleSendAMessageRequestPushMessageTemplateOneOf = new SendAMessageRequestPushMessageTemplateOneOf();
+ // set SendAMessageRequestPushMessageTemplate to SendAMessageRequestPushMessageTemplateOneOf
+ exampleSendAMessageRequestPushMessageTemplate.setActualInstance(exampleSendAMessageRequestPushMessageTemplateOneOf);
+ // to get back the SendAMessageRequestPushMessageTemplateOneOf set earlier
+ SendAMessageRequestPushMessageTemplateOneOf testSendAMessageRequestPushMessageTemplateOneOf = (SendAMessageRequestPushMessageTemplateOneOf) exampleSendAMessageRequestPushMessageTemplate.getActualInstance();
+
+ // create a new String
+ String exampleString = new String();
+ // set SendAMessageRequestPushMessageTemplate to String
+ exampleSendAMessageRequestPushMessageTemplate.setActualInstance(exampleString);
+ // to get back the String set earlier
+ String testString = (String) exampleSendAMessageRequestPushMessageTemplate.getActualInstance();
+ }
+}
+```
+
+
diff --git a/docs/SendTextMessageRequestBodyPushMessageTemplateOneOf.md b/docs/SendAMessageRequestPushMessageTemplateOneOf.md
similarity index 94%
rename from docs/SendTextMessageRequestBodyPushMessageTemplateOneOf.md
rename to docs/SendAMessageRequestPushMessageTemplateOneOf.md
index e72010a7..0eedc418 100644
--- a/docs/SendTextMessageRequestBodyPushMessageTemplateOneOf.md
+++ b/docs/SendAMessageRequestPushMessageTemplateOneOf.md
@@ -1,6 +1,6 @@
-# SendTextMessageRequestBodyPushMessageTemplateOneOf
+# SendAMessageRequestPushMessageTemplateOneOf
## Properties
diff --git a/docs/SendBirdGroupChannel.md b/docs/SendBirdGroupChannel.md
index 8f35e15f..b650ee1c 100644
--- a/docs/SendBirdGroupChannel.md
+++ b/docs/SendBirdGroupChannel.md
@@ -36,7 +36,7 @@
|**isSuper** | **Boolean** | | [optional] |
|**joinedMemberCount** | **Integer** | | [optional] |
|**joinedTs** | **Long** | | [optional] |
-|**lastMessage** | [**SendbirdMessageResponse**](SendbirdMessageResponse.md) | | [optional] |
+|**lastMessage** | [**SendbirdGroupChannelLastMessage**](SendbirdGroupChannelLastMessage.md) | | [optional] |
|**maxLengthMessage** | **Integer** | | [optional] |
|**memberCount** | **Integer** | | [optional] |
|**memberState** | [**MemberStateEnum**](#MemberStateEnum) | | [optional] |
diff --git a/docs/SendBirdMessageResponse.md b/docs/SendBirdMessageResponse.md
index ad1944f7..64496613 100644
--- a/docs/SendBirdMessageResponse.md
+++ b/docs/SendBirdMessageResponse.md
@@ -29,14 +29,14 @@
|**reqId** | **String** | | [optional] |
|**mentionType** | **String** | | [optional] |
|**channelUrl** | **String** | | [optional] |
-|**messageId** | **Integer** | | [optional] |
+|**messageId** | **Long** | | [optional] |
|**sortedMetaarray** | [**List<SendbirdSortedMetaarrayInner>**](SendbirdSortedMetaarrayInner.md) | | [optional] |
|**threadInfo** | **Object** | | [optional] |
|**parentMessageId** | **Integer** | | [optional] |
|**parentMessageInfo** | [**SendbirdParentMessageInfo**](SendbirdParentMessageInfo.md) | | [optional] |
|**isReplyToChannel** | **Boolean** | | [optional] |
|**messageEvents** | [**SendbirdMessageResponseMessageEvents**](SendbirdMessageResponseMessageEvents.md) | | [optional] |
-|**extendedMessagePayload** | [**SendbirdExtendedMessagePayload**](SendbirdExtendedMessagePayload.md) | | [optional] |
+|**extendedMessagePayload** | [**SendbirdMessageResponseExtendedMessagePayload**](SendbirdMessageResponseExtendedMessagePayload.md) | | [optional] |
diff --git a/docs/SendBirdUser.md b/docs/SendBirdUser.md
index 86f0c3da..8b589ea3 100644
--- a/docs/SendBirdUser.md
+++ b/docs/SendBirdUser.md
@@ -29,7 +29,6 @@ User
|**unreadMessageCount** | **Integer** | | [optional] |
|**phoneNumber** | **String** | | [optional] |
|**isCreated** | **Boolean** | | [optional] |
-|**sessionTokens** | **List<String>** | | [optional] |
diff --git a/docs/SendTextMessageRequestBodyPushMessageTemplate.md b/docs/SendTextMessageRequestBodyPushMessageTemplate.md
index 2ba7940c..cb5a0836 100644
--- a/docs/SendTextMessageRequestBodyPushMessageTemplate.md
+++ b/docs/SendTextMessageRequestBodyPushMessageTemplate.md
@@ -5,26 +5,26 @@
Specifies the content of a push notification customized for the message. This property only applies to group channels. To choose from a push notification content template within your Sendbird application, specify a string value of default or alternative. To create a new push notification content tailored to the message being sent, use the properties listed below to specify its title and body in a nested object format. * This property overrides the application's default push notification content template or the preference chosen by the user.
## oneOf schemas
-* [SendTextMessageRequestBodyPushMessageTemplateOneOf](SendTextMessageRequestBodyPushMessageTemplateOneOf.md)
+* [SendAMessageRequestPushMessageTemplateOneOf](SendAMessageRequestPushMessageTemplateOneOf.md)
* [String](String.md)
## Example
```java
// Import classes:
import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplate;
-import org.openapitools.client.model.SendTextMessageRequestBodyPushMessageTemplateOneOf;
+import org.openapitools.client.model.SendAMessageRequestPushMessageTemplateOneOf;
import org.openapitools.client.model.String;
public class Example {
public static void main(String[] args) {
SendTextMessageRequestBodyPushMessageTemplate exampleSendTextMessageRequestBodyPushMessageTemplate = new SendTextMessageRequestBodyPushMessageTemplate();
- // create a new SendTextMessageRequestBodyPushMessageTemplateOneOf
- SendTextMessageRequestBodyPushMessageTemplateOneOf exampleSendTextMessageRequestBodyPushMessageTemplateOneOf = new SendTextMessageRequestBodyPushMessageTemplateOneOf();
- // set SendTextMessageRequestBodyPushMessageTemplate to SendTextMessageRequestBodyPushMessageTemplateOneOf
- exampleSendTextMessageRequestBodyPushMessageTemplate.setActualInstance(exampleSendTextMessageRequestBodyPushMessageTemplateOneOf);
- // to get back the SendTextMessageRequestBodyPushMessageTemplateOneOf set earlier
- SendTextMessageRequestBodyPushMessageTemplateOneOf testSendTextMessageRequestBodyPushMessageTemplateOneOf = (SendTextMessageRequestBodyPushMessageTemplateOneOf) exampleSendTextMessageRequestBodyPushMessageTemplate.getActualInstance();
+ // create a new SendAMessageRequestPushMessageTemplateOneOf
+ SendAMessageRequestPushMessageTemplateOneOf exampleSendAMessageRequestPushMessageTemplateOneOf = new SendAMessageRequestPushMessageTemplateOneOf();
+ // set SendTextMessageRequestBodyPushMessageTemplate to SendAMessageRequestPushMessageTemplateOneOf
+ exampleSendTextMessageRequestBodyPushMessageTemplate.setActualInstance(exampleSendAMessageRequestPushMessageTemplateOneOf);
+ // to get back the SendAMessageRequestPushMessageTemplateOneOf set earlier
+ SendAMessageRequestPushMessageTemplateOneOf testSendAMessageRequestPushMessageTemplateOneOf = (SendAMessageRequestPushMessageTemplateOneOf) exampleSendTextMessageRequestBodyPushMessageTemplate.getActualInstance();
// create a new String
String exampleString = new String();
diff --git a/docs/SendbirdGroupChannelLastMessage.md b/docs/SendbirdGroupChannelLastMessage.md
new file mode 100644
index 00000000..adf5fc09
--- /dev/null
+++ b/docs/SendbirdGroupChannelLastMessage.md
@@ -0,0 +1,28 @@
+
+
+# SendbirdGroupChannelLastMessage
+
+## oneOf schemas
+* [SendbirdMessageResponse](SendbirdMessageResponse.md)
+
+## Example
+```java
+// Import classes:
+import org.openapitools.client.model.SendbirdGroupChannelLastMessage;
+import org.openapitools.client.model.SendbirdMessageResponse;
+
+public class Example {
+ public static void main(String[] args) {
+ SendbirdGroupChannelLastMessage exampleSendbirdGroupChannelLastMessage = new SendbirdGroupChannelLastMessage();
+
+ // create a new SendbirdMessageResponse
+ SendbirdMessageResponse exampleSendbirdMessageResponse = new SendbirdMessageResponse();
+ // set SendbirdGroupChannelLastMessage to SendbirdMessageResponse
+ exampleSendbirdGroupChannelLastMessage.setActualInstance(exampleSendbirdMessageResponse);
+ // to get back the SendbirdMessageResponse set earlier
+ SendbirdMessageResponse testSendbirdMessageResponse = (SendbirdMessageResponse) exampleSendbirdGroupChannelLastMessage.getActualInstance();
+ }
+}
+```
+
+
diff --git a/docs/SendbirdMessageResponseExtendedMessagePayload.md b/docs/SendbirdMessageResponseExtendedMessagePayload.md
new file mode 100644
index 00000000..43f3e7f4
--- /dev/null
+++ b/docs/SendbirdMessageResponseExtendedMessagePayload.md
@@ -0,0 +1,28 @@
+
+
+# SendbirdMessageResponseExtendedMessagePayload
+
+## oneOf schemas
+* [SendbirdExtendedMessagePayload](SendbirdExtendedMessagePayload.md)
+
+## Example
+```java
+// Import classes:
+import org.openapitools.client.model.SendbirdMessageResponseExtendedMessagePayload;
+import org.openapitools.client.model.SendbirdExtendedMessagePayload;
+
+public class Example {
+ public static void main(String[] args) {
+ SendbirdMessageResponseExtendedMessagePayload exampleSendbirdMessageResponseExtendedMessagePayload = new SendbirdMessageResponseExtendedMessagePayload();
+
+ // create a new SendbirdExtendedMessagePayload
+ SendbirdExtendedMessagePayload exampleSendbirdExtendedMessagePayload = new SendbirdExtendedMessagePayload();
+ // set SendbirdMessageResponseExtendedMessagePayload to SendbirdExtendedMessagePayload
+ exampleSendbirdMessageResponseExtendedMessagePayload.setActualInstance(exampleSendbirdExtendedMessagePayload);
+ // to get back the SendbirdExtendedMessagePayload set earlier
+ SendbirdExtendedMessagePayload testSendbirdExtendedMessagePayload = (SendbirdExtendedMessagePayload) exampleSendbirdMessageResponseExtendedMessagePayload.getActualInstance();
+ }
+}
+```
+
+
diff --git a/docs/UpdateBotByIdData.md b/docs/UpdateBotByIdData.md
new file mode 100644
index 00000000..14e0c959
--- /dev/null
+++ b/docs/UpdateBotByIdData.md
@@ -0,0 +1,20 @@
+
+
+# UpdateBotByIdData
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**botUserid** | **String** | Specifies the ID of the bot to update. | |
+|**botNickname** | **String** | Specifies the bot's nickname. The length is limited to 80 characters. | |
+|**botProfileUrl** | **String** | Specifies the URL of the bot's profile image. The size is limited to 2,048 characters. | |
+|**botCallbackUrl** | **String** | Specifies the server URL where bot is located to receive all events, requests, and data forwarded from an application. For security reasons, it is highly recommended that you use an SSL server. The length is limited to 1,024 characters. | |
+|**isPrivacyMode** | **Boolean** | In the channels of where the bot is a member, determines whether to only forward the messages with the specific conditions to the bot or forword all messages to the bot, for privacy concerns. If set to true, only messages that start with a '/' or mention the bot_userid are forwarded to the bot. If set to false, all messages are forwarded. | |
+|**enableMarkAsRead** | **Boolean** | Determines whether to mark the bot's message as read upon sending it. (Default: true) | |
+|**showMember** | **Boolean** | Determines whether to include information about the members of each channel in a callback response. (Default: false) | |
+|**channelInvitationPreference** | **Integer** | Determines whether the bot automatically joins the channel when invited or joins the channel after manually accepting an invitation using the API. If set to 0, it automatically joins the channel. If set to 1, the latter takes place. (Default: 0) | |
+
+
+
diff --git a/docs/UpdateBotByIdResponse.md b/docs/UpdateBotByIdResponse.md
new file mode 100644
index 00000000..2ee703b1
--- /dev/null
+++ b/docs/UpdateBotByIdResponse.md
@@ -0,0 +1,18 @@
+
+
+# UpdateBotByIdResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**bot** | [**ViewBotByIdResponseBot**](ViewBotByIdResponseBot.md) | | [optional] |
+|**botCallbackUrl** | **String** | | [optional] |
+|**enableMarkAsRead** | **Boolean** | | [optional] |
+|**isPrivacyMode** | **Boolean** | | [optional] |
+|**showMember** | **Boolean** | | [optional] |
+|**channelInvitationPreference** | **Integer** | | [optional] |
+
+
+
diff --git a/docs/ViewBotByIdResponse.md b/docs/ViewBotByIdResponse.md
new file mode 100644
index 00000000..61ee4b1f
--- /dev/null
+++ b/docs/ViewBotByIdResponse.md
@@ -0,0 +1,18 @@
+
+
+# ViewBotByIdResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**bot** | [**ViewBotByIdResponseBot**](ViewBotByIdResponseBot.md) | | [optional] |
+|**botCallbackUrl** | **String** | | [optional] |
+|**enableMarkAsRead** | **Boolean** | | [optional] |
+|**isPrivacyMode** | **Boolean** | | [optional] |
+|**showMember** | **Boolean** | | [optional] |
+|**channelInvitationPreference** | **Integer** | | [optional] |
+
+
+
diff --git a/docs/ViewBotByIdResponseBot.md b/docs/ViewBotByIdResponseBot.md
new file mode 100644
index 00000000..59e8f708
--- /dev/null
+++ b/docs/ViewBotByIdResponseBot.md
@@ -0,0 +1,18 @@
+
+
+# ViewBotByIdResponseBot
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**botToken** | **String** | | [optional] |
+|**botProfileUrl** | **String** | | [optional] |
+|**botUserid** | **String** | | [optional] |
+|**botNickname** | **String** | | [optional] |
+|**botType** | **String** | | [optional] |
+|**botMetadata** | **Object** | | [optional] |
+
+
+
diff --git a/pom.xml b/pom.xml
index 83893469..8b64b233 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
sendbird-platform-sdk
jar
sendbird-platform-sdk
- 2.0.0
+ 2.1.1
https://github.com/sendbird/sendbird-platform-sdk-java
Sendbird Platform API SDK
diff --git a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java
index b701bab0..7253c157 100644
--- a/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java
+++ b/src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java
@@ -24,7 +24,7 @@
/**
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
*/
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public abstract class AbstractOpenApiSchema {
// store the actual instance of the schema/object
diff --git a/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java b/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java
index 381577f2..577054ae 100644
--- a/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java
+++ b/src/main/java/org/openapitools/client/model/AcceptAnInvitationRequest.java
@@ -24,6 +24,10 @@
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
+import org.openapitools.jackson.nullable.JsonNullable;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import org.openapitools.jackson.nullable.JsonNullable;
+import java.util.NoSuchElementException;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.sendbird.client.JSON;
@@ -36,10 +40,10 @@
AcceptAnInvitationRequest.JSON_PROPERTY_USER_ID
})
@JsonTypeName("acceptAnInvitation_request")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class AcceptAnInvitationRequest {
public static final String JSON_PROPERTY_ACCESS_CODE = "access_code";
- private String accessCode;
+ private JsonNullable accessCode = JsonNullable.undefined();
public static final String JSON_PROPERTY_USER_ID = "user_id";
private String userId;
@@ -48,7 +52,7 @@ public AcceptAnInvitationRequest() {
}
public AcceptAnInvitationRequest accessCode(String accessCode) {
- this.accessCode = accessCode;
+ this.accessCode = JsonNullable.of(accessCode);
return this;
}
@@ -58,20 +62,28 @@ public AcceptAnInvitationRequest accessCode(String accessCode) {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
- @JsonProperty(JSON_PROPERTY_ACCESS_CODE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonIgnore
public String getAccessCode() {
- return accessCode;
+ return accessCode.orElse(null);
}
-
@JsonProperty(JSON_PROPERTY_ACCESS_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setAccessCode(String accessCode) {
+
+ public JsonNullable getAccessCode_JsonNullable() {
+ return accessCode;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCESS_CODE)
+ public void setAccessCode_JsonNullable(JsonNullable accessCode) {
this.accessCode = accessCode;
}
+ public void setAccessCode(String accessCode) {
+ this.accessCode = JsonNullable.of(accessCode);
+ }
+
public AcceptAnInvitationRequest userId(String userId) {
this.userId = userId;
@@ -111,13 +123,24 @@ public boolean equals(Object o) {
return false;
}
AcceptAnInvitationRequest acceptAnInvitationRequest = (AcceptAnInvitationRequest) o;
- return Objects.equals(this.accessCode, acceptAnInvitationRequest.accessCode) &&
+ return equalsNullable(this.accessCode, acceptAnInvitationRequest.accessCode) &&
Objects.equals(this.userId, acceptAnInvitationRequest.userId);
}
+ private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
+ return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
+ }
+
@Override
public int hashCode() {
- return Objects.hash(accessCode, userId);
+ return Objects.hash(hashCodeNullable(accessCode), userId);
+ }
+
+ private static int hashCodeNullable(JsonNullable a) {
+ if (a == null) {
+ return 1;
+ }
+ return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
}
@Override
diff --git a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java
index 86b03b93..deb2c048 100644
--- a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java
+++ b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenRequest.java
@@ -37,7 +37,7 @@
AddARegistrationOrDeviceTokenRequest.JSON_PROPERTY_HUAWEI_DEVICE_TOKEN
})
@JsonTypeName("addARegistrationOrDeviceToken_request")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class AddARegistrationOrDeviceTokenRequest {
public static final String JSON_PROPERTY_APNS_DEVICE_TOKEN = "apns_device_token";
private String apnsDeviceToken;
diff --git a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java
index 0cdc2d1d..966b58c7 100644
--- a/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java
+++ b/src/main/java/org/openapitools/client/model/AddARegistrationOrDeviceTokenResponse.java
@@ -38,7 +38,7 @@
AddARegistrationOrDeviceTokenResponse.JSON_PROPERTY_USER
})
@JsonTypeName("addARegistrationOrDeviceTokenResponse")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class AddARegistrationOrDeviceTokenResponse {
public static final String JSON_PROPERTY_TOKEN = "token";
private String token;
diff --git a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java
index f11a9c98..df50c969 100644
--- a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java
+++ b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageRequest.java
@@ -38,7 +38,7 @@
AddExtraDataToAMessageRequest.JSON_PROPERTY_SORTED_METAARRAY
})
@JsonTypeName("addExtraDataToAMessage_request")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class AddExtraDataToAMessageRequest {
public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray";
private List sortedMetaarray = new ArrayList<>();
diff --git a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java
index 6405e0c5..02abbcf5 100644
--- a/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java
+++ b/src/main/java/org/openapitools/client/model/AddExtraDataToAMessageResponse.java
@@ -38,7 +38,7 @@
AddExtraDataToAMessageResponse.JSON_PROPERTY_SORTED_METAARRAY
})
@JsonTypeName("addExtraDataToAMessageResponse")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class AddExtraDataToAMessageResponse {
public static final String JSON_PROPERTY_SORTED_METAARRAY = "sorted_metaarray";
private List sortedMetaarray = null;
diff --git a/src/main/java/org/openapitools/client/model/BlockAUserRequest.java b/src/main/java/org/openapitools/client/model/BlockAUserRequest.java
index 21352065..78588b31 100644
--- a/src/main/java/org/openapitools/client/model/BlockAUserRequest.java
+++ b/src/main/java/org/openapitools/client/model/BlockAUserRequest.java
@@ -38,7 +38,7 @@
BlockAUserRequest.JSON_PROPERTY_USER_IDS
})
@JsonTypeName("blockAUser_request")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class BlockAUserRequest {
public static final String JSON_PROPERTY_TARGET_ID = "target_id";
private String targetId;
diff --git a/src/main/java/org/openapitools/client/model/BlockAUserResponse.java b/src/main/java/org/openapitools/client/model/BlockAUserResponse.java
index 62462079..ec889ab3 100644
--- a/src/main/java/org/openapitools/client/model/BlockAUserResponse.java
+++ b/src/main/java/org/openapitools/client/model/BlockAUserResponse.java
@@ -39,7 +39,7 @@
BlockAUserResponse.JSON_PROPERTY_NEXT
})
@JsonTypeName("blockAUserResponse")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class BlockAUserResponse {
public static final String JSON_PROPERTY_USERS = "users";
private List users = null;
diff --git a/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java b/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java
index dc79d5bd..477f72bf 100644
--- a/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java
+++ b/src/main/java/org/openapitools/client/model/CheckIfMemberResponse.java
@@ -36,7 +36,7 @@
CheckIfMemberResponse.JSON_PROPERTY_STATE
})
@JsonTypeName("checkIfMemberResponse")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class CheckIfMemberResponse {
public static final String JSON_PROPERTY_IS_MEMBER = "is_member";
private Boolean isMember;
diff --git a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java
index e75caf75..5f7bd989 100644
--- a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java
+++ b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateRequest.java
@@ -35,7 +35,7 @@
ChooseAPushNotificationContentTemplateRequest.JSON_PROPERTY_NAME
})
@JsonTypeName("chooseAPushNotificationContentTemplate_request")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class ChooseAPushNotificationContentTemplateRequest {
/**
* Specifies the name of a template used for notifications. Acceptable values are default and alternative. (Default: default)
diff --git a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java
index ed43ac09..26cd67ea 100644
--- a/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java
+++ b/src/main/java/org/openapitools/client/model/ChooseAPushNotificationContentTemplateResponse.java
@@ -35,7 +35,7 @@
ChooseAPushNotificationContentTemplateResponse.JSON_PROPERTY_NAME
})
@JsonTypeName("chooseAPushNotificationContentTemplateResponse")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class ChooseAPushNotificationContentTemplateResponse {
public static final String JSON_PROPERTY_NAME = "name";
private String name;
diff --git a/src/main/java/org/openapitools/client/model/CreateABotRequest.java b/src/main/java/org/openapitools/client/model/CreateABotRequest.java
index c381f4b6..2264ddee 100644
--- a/src/main/java/org/openapitools/client/model/CreateABotRequest.java
+++ b/src/main/java/org/openapitools/client/model/CreateABotRequest.java
@@ -43,7 +43,7 @@
CreateABotRequest.JSON_PROPERTY_SHOW_MEMBER
})
@JsonTypeName("createABot_request")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class CreateABotRequest {
public static final String JSON_PROPERTY_BOT_CALLBACK_URL = "bot_callback_url";
private String botCallbackUrl;
diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponse.java b/src/main/java/org/openapitools/client/model/CreateABotResponse.java
index 4859ca50..6a14ccc0 100644
--- a/src/main/java/org/openapitools/client/model/CreateABotResponse.java
+++ b/src/main/java/org/openapitools/client/model/CreateABotResponse.java
@@ -25,7 +25,7 @@
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.openapitools.client.model.CreateABotResponseBot;
-import org.openapitools.client.model.CreateABotResponseBotStyle;
+import org.openapitools.client.model.ListBotsResponseBotsInnerBotStyle;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.sendbird.client.JSON;
@@ -44,7 +44,7 @@
CreateABotResponse.JSON_PROPERTY_SHOW_MEMBER
})
@JsonTypeName("createABotResponse")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class CreateABotResponse {
public static final String JSON_PROPERTY_BOT = "bot";
private CreateABotResponseBot bot;
@@ -53,7 +53,7 @@ public class CreateABotResponse {
private String botCallbackUrl;
public static final String JSON_PROPERTY_BOT_STYLE = "bot_style";
- private CreateABotResponseBotStyle botStyle;
+ private ListBotsResponseBotsInnerBotStyle botStyle;
public static final String JSON_PROPERTY_CHANNEL_INVITATION_PREFERENCE = "channel_invitation_preference";
private Integer channelInvitationPreference;
@@ -125,7 +125,7 @@ public void setBotCallbackUrl(String botCallbackUrl) {
}
- public CreateABotResponse botStyle(CreateABotResponseBotStyle botStyle) {
+ public CreateABotResponse botStyle(ListBotsResponseBotsInnerBotStyle botStyle) {
this.botStyle = botStyle;
return this;
}
@@ -139,14 +139,14 @@ public CreateABotResponse botStyle(CreateABotResponseBotStyle botStyle) {
@JsonProperty(JSON_PROPERTY_BOT_STYLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public CreateABotResponseBotStyle getBotStyle() {
+ public ListBotsResponseBotsInnerBotStyle getBotStyle() {
return botStyle;
}
@JsonProperty(JSON_PROPERTY_BOT_STYLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setBotStyle(CreateABotResponseBotStyle botStyle) {
+ public void setBotStyle(ListBotsResponseBotsInnerBotStyle botStyle) {
this.botStyle = botStyle;
}
diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java b/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java
index c75633bf..f3231797 100644
--- a/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java
+++ b/src/main/java/org/openapitools/client/model/CreateABotResponseBot.java
@@ -43,7 +43,7 @@
CreateABotResponseBot.JSON_PROPERTY_FEEDBACK
})
@JsonTypeName("createABotResponse_bot")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class CreateABotResponseBot {
public static final String JSON_PROPERTY_AI_AGENT_TYPE = "ai_agent_type";
private String aiAgentType;
diff --git a/src/main/java/org/openapitools/client/model/CreateABotResponseBotStyle.java b/src/main/java/org/openapitools/client/model/CreateABotResponseBotStyle.java
deleted file mode 100644
index cb370f01..00000000
--- a/src/main/java/org/openapitools/client/model/CreateABotResponseBotStyle.java
+++ /dev/null
@@ -1,233 +0,0 @@
-/*
- * Sendbird Platform SDK
- * Sendbird Platform API SDK [https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api](https://sendbird.com/docs/chat/v3/platform-api/getting-started/prepare-to-use-api) Contact Support: Name: Sendbird Email: [support@sendbird.com](https://mailto:support@sendbird.com)
- *
- * The version of the OpenAPI document: 1.0.0
- * Contact: support@sendbird.com
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- */
-
-
-package org.openapitools.client.model;
-
-import java.util.Objects;
-import java.util.Arrays;
-import java.util.Map;
-import java.util.HashMap;
-import com.fasterxml.jackson.annotation.JsonInclude;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonTypeName;
-import com.fasterxml.jackson.annotation.JsonValue;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import org.openapitools.client.model.ListBotsResponseBotsInnerBotStyleColor;
-import org.openapitools.jackson.nullable.JsonNullable;
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import org.openapitools.jackson.nullable.JsonNullable;
-import java.util.NoSuchElementException;
-import com.fasterxml.jackson.annotation.JsonPropertyOrder;
-import org.sendbird.client.JSON;
-
-
-/**
- * CreateABotResponseBotStyle
- */
-@JsonPropertyOrder({
- CreateABotResponseBotStyle.JSON_PROPERTY_AUTO_OPEN,
- CreateABotResponseBotStyle.JSON_PROPERTY_COLOR,
- CreateABotResponseBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_TYPE,
- CreateABotResponseBotStyle.JSON_PROPERTY_TOGGLE_BUTTON_URL
-})
-@JsonTypeName("createABotResponse_bot_style")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
-public class CreateABotResponseBotStyle {
- public static final String JSON_PROPERTY_AUTO_OPEN = "auto_open";
- private Boolean autoOpen;
-
- public static final String JSON_PROPERTY_COLOR = "color";
- private ListBotsResponseBotsInnerBotStyleColor color;
-
- public static final String JSON_PROPERTY_TOGGLE_BUTTON_TYPE = "toggle_button_type";
- private JsonNullable toggleButtonType = JsonNullable.undefined();
-
- public static final String JSON_PROPERTY_TOGGLE_BUTTON_URL = "toggle_button_url";
- private String toggleButtonUrl;
-
- public CreateABotResponseBotStyle() {
- }
-
- public CreateABotResponseBotStyle autoOpen(Boolean autoOpen) {
- this.autoOpen = autoOpen;
- return this;
- }
-
- /**
- * Get autoOpen
- * @return autoOpen
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
- @JsonProperty(JSON_PROPERTY_AUTO_OPEN)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
-
- public Boolean getAutoOpen() {
- return autoOpen;
- }
-
-
- @JsonProperty(JSON_PROPERTY_AUTO_OPEN)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setAutoOpen(Boolean autoOpen) {
- this.autoOpen = autoOpen;
- }
-
-
- public CreateABotResponseBotStyle color(ListBotsResponseBotsInnerBotStyleColor color) {
- this.color = color;
- return this;
- }
-
- /**
- * Get color
- * @return color
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
- @JsonProperty(JSON_PROPERTY_COLOR)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
-
- public ListBotsResponseBotsInnerBotStyleColor getColor() {
- return color;
- }
-
-
- @JsonProperty(JSON_PROPERTY_COLOR)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setColor(ListBotsResponseBotsInnerBotStyleColor color) {
- this.color = color;
- }
-
-
- public CreateABotResponseBotStyle toggleButtonType(String toggleButtonType) {
- this.toggleButtonType = JsonNullable.of(toggleButtonType);
- return this;
- }
-
- /**
- * Get toggleButtonType
- * @return toggleButtonType
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
- @JsonIgnore
-
- public String getToggleButtonType() {
- return toggleButtonType.orElse(null);
- }
-
- @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_TYPE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
-
- public JsonNullable getToggleButtonType_JsonNullable() {
- return toggleButtonType;
- }
-
- @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_TYPE)
- public void setToggleButtonType_JsonNullable(JsonNullable toggleButtonType) {
- this.toggleButtonType = toggleButtonType;
- }
-
- public void setToggleButtonType(String toggleButtonType) {
- this.toggleButtonType = JsonNullable.of(toggleButtonType);
- }
-
-
- public CreateABotResponseBotStyle toggleButtonUrl(String toggleButtonUrl) {
- this.toggleButtonUrl = toggleButtonUrl;
- return this;
- }
-
- /**
- * Get toggleButtonUrl
- * @return toggleButtonUrl
- **/
- @javax.annotation.Nullable
- @ApiModelProperty(value = "")
- @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_URL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
-
- public String getToggleButtonUrl() {
- return toggleButtonUrl;
- }
-
-
- @JsonProperty(JSON_PROPERTY_TOGGLE_BUTTON_URL)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setToggleButtonUrl(String toggleButtonUrl) {
- this.toggleButtonUrl = toggleButtonUrl;
- }
-
-
- /**
- * Return true if this createABotResponse_bot_style object is equal to o.
- */
- @Override
- public boolean equals(Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- CreateABotResponseBotStyle createABotResponseBotStyle = (CreateABotResponseBotStyle) o;
- return Objects.equals(this.autoOpen, createABotResponseBotStyle.autoOpen) &&
- Objects.equals(this.color, createABotResponseBotStyle.color) &&
- equalsNullable(this.toggleButtonType, createABotResponseBotStyle.toggleButtonType) &&
- Objects.equals(this.toggleButtonUrl, createABotResponseBotStyle.toggleButtonUrl);
- }
-
- private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
- return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(autoOpen, color, hashCodeNullable(toggleButtonType), toggleButtonUrl);
- }
-
- private static int hashCodeNullable(JsonNullable a) {
- if (a == null) {
- return 1;
- }
- return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
- }
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("class CreateABotResponseBotStyle {\n");
- sb.append(" autoOpen: ").append(toIndentedString(autoOpen)).append("\n");
- sb.append(" color: ").append(toIndentedString(color)).append("\n");
- sb.append(" toggleButtonType: ").append(toIndentedString(toggleButtonType)).append("\n");
- sb.append(" toggleButtonUrl: ").append(toIndentedString(toggleButtonUrl)).append("\n");
- sb.append("}");
- return sb.toString();
- }
-
- /**
- * Convert the given object to string with each line indented by 4 spaces
- * (except the first line).
- */
- private String toIndentedString(Object o) {
- if (o == null) {
- return "null";
- }
- return o.toString().replace("\n", "\n ");
- }
-
-}
-
diff --git a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java
index 99fd856a..20205f6a 100644
--- a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java
+++ b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataRequest.java
@@ -36,7 +36,7 @@
CreateAChannelMetadataRequest.JSON_PROPERTY_METADATA
})
@JsonTypeName("createAChannelMetadata_request")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class CreateAChannelMetadataRequest {
public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts";
private Boolean includeTs;
@@ -82,7 +82,7 @@ public CreateAChannelMetadataRequest metadata(Object metadata) {
* Get metadata
* @return metadata
**/
- @javax.annotation.Nonnull
+ @javax.annotation.Nullable
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_METADATA)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
diff --git a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java
index b516992c..968bd01a 100644
--- a/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java
+++ b/src/main/java/org/openapitools/client/model/CreateAChannelMetadataResponse.java
@@ -36,7 +36,7 @@
CreateAChannelMetadataResponse.JSON_PROPERTY_METADATA
})
@JsonTypeName("createAChannelMetadataResponse")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class CreateAChannelMetadataResponse {
public static final String JSON_PROPERTY_INCLUDE_TS = "include_ts";
private Long includeTs;
diff --git a/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java b/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java
index 09586235..c8083bff 100644
--- a/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java
+++ b/src/main/java/org/openapitools/client/model/CreateAGroupChannelRequest.java
@@ -28,6 +28,10 @@
import java.util.ArrayList;
import java.util.List;
import org.openapitools.client.model.SendbirdUser;
+import org.openapitools.jackson.nullable.JsonNullable;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import org.openapitools.jackson.nullable.JsonNullable;
+import java.util.NoSuchElementException;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.sendbird.client.JSON;
@@ -57,13 +61,13 @@
CreateAGroupChannelRequest.JSON_PROPERTY_USERS
})
@JsonTypeName("createAGroupChannel_request")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class CreateAGroupChannelRequest {
public static final String JSON_PROPERTY_ACCESS_CODE = "access_code";
- private String accessCode;
+ private JsonNullable accessCode = JsonNullable.undefined();
public static final String JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN = "block_sdk_user_channel_join";
- private Boolean blockSdkUserChannelJoin;
+ private JsonNullable blockSdkUserChannelJoin = JsonNullable.undefined();
public static final String JSON_PROPERTY_CHANNEL_URL = "channel_url";
private String channelUrl;
@@ -120,7 +124,7 @@ public CreateAGroupChannelRequest() {
}
public CreateAGroupChannelRequest accessCode(String accessCode) {
- this.accessCode = accessCode;
+ this.accessCode = JsonNullable.of(accessCode);
return this;
}
@@ -130,23 +134,31 @@ public CreateAGroupChannelRequest accessCode(String accessCode) {
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
- @JsonProperty(JSON_PROPERTY_ACCESS_CODE)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonIgnore
public String getAccessCode() {
- return accessCode;
+ return accessCode.orElse(null);
}
-
@JsonProperty(JSON_PROPERTY_ACCESS_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setAccessCode(String accessCode) {
+
+ public JsonNullable getAccessCode_JsonNullable() {
+ return accessCode;
+ }
+
+ @JsonProperty(JSON_PROPERTY_ACCESS_CODE)
+ public void setAccessCode_JsonNullable(JsonNullable accessCode) {
this.accessCode = accessCode;
}
+ public void setAccessCode(String accessCode) {
+ this.accessCode = JsonNullable.of(accessCode);
+ }
+
public CreateAGroupChannelRequest blockSdkUserChannelJoin(Boolean blockSdkUserChannelJoin) {
- this.blockSdkUserChannelJoin = blockSdkUserChannelJoin;
+ this.blockSdkUserChannelJoin = JsonNullable.of(blockSdkUserChannelJoin);
return this;
}
@@ -156,20 +168,28 @@ public CreateAGroupChannelRequest blockSdkUserChannelJoin(Boolean blockSdkUserCh
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
- @JsonProperty(JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN)
- @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ @JsonIgnore
public Boolean getBlockSdkUserChannelJoin() {
- return blockSdkUserChannelJoin;
+ return blockSdkUserChannelJoin.orElse(null);
}
-
@JsonProperty(JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
- public void setBlockSdkUserChannelJoin(Boolean blockSdkUserChannelJoin) {
+
+ public JsonNullable getBlockSdkUserChannelJoin_JsonNullable() {
+ return blockSdkUserChannelJoin;
+ }
+
+ @JsonProperty(JSON_PROPERTY_BLOCK_SDK_USER_CHANNEL_JOIN)
+ public void setBlockSdkUserChannelJoin_JsonNullable(JsonNullable blockSdkUserChannelJoin) {
this.blockSdkUserChannelJoin = blockSdkUserChannelJoin;
}
+ public void setBlockSdkUserChannelJoin(Boolean blockSdkUserChannelJoin) {
+ this.blockSdkUserChannelJoin = JsonNullable.of(blockSdkUserChannelJoin);
+ }
+
public CreateAGroupChannelRequest channelUrl(String channelUrl) {
this.channelUrl = channelUrl;
@@ -646,8 +666,8 @@ public boolean equals(Object o) {
return false;
}
CreateAGroupChannelRequest createAGroupChannelRequest = (CreateAGroupChannelRequest) o;
- return Objects.equals(this.accessCode, createAGroupChannelRequest.accessCode) &&
- Objects.equals(this.blockSdkUserChannelJoin, createAGroupChannelRequest.blockSdkUserChannelJoin) &&
+ return equalsNullable(this.accessCode, createAGroupChannelRequest.accessCode) &&
+ equalsNullable(this.blockSdkUserChannelJoin, createAGroupChannelRequest.blockSdkUserChannelJoin) &&
Objects.equals(this.channelUrl, createAGroupChannelRequest.channelUrl) &&
Objects.equals(this.coverFile, createAGroupChannelRequest.coverFile) &&
Objects.equals(this.coverUrl, createAGroupChannelRequest.coverUrl) &&
@@ -667,9 +687,20 @@ public boolean equals(Object o) {
Objects.equals(this.users, createAGroupChannelRequest.users);
}
+ private static boolean equalsNullable(JsonNullable a, JsonNullable b) {
+ return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
+ }
+
@Override
public int hashCode() {
- return Objects.hash(accessCode, blockSdkUserChannelJoin, channelUrl, coverFile, coverUrl, customType, data, hiddenStatus, invitationStatus, inviterId, isDistinct, isEphemeral, isPublic, isSuper, name, operatorIds, strict, userIds, users);
+ return Objects.hash(hashCodeNullable(accessCode), hashCodeNullable(blockSdkUserChannelJoin), channelUrl, coverFile, coverUrl, customType, data, hiddenStatus, invitationStatus, inviterId, isDistinct, isEphemeral, isPublic, isSuper, name, operatorIds, strict, userIds, users);
+ }
+
+ private static int hashCodeNullable(JsonNullable a) {
+ if (a == null) {
+ return 1;
+ }
+ return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
}
@Override
diff --git a/src/main/java/org/openapitools/client/model/CreateAUserRequest.java b/src/main/java/org/openapitools/client/model/CreateAUserRequest.java
index a0484dda..c3637e98 100644
--- a/src/main/java/org/openapitools/client/model/CreateAUserRequest.java
+++ b/src/main/java/org/openapitools/client/model/CreateAUserRequest.java
@@ -27,6 +27,10 @@
import java.io.File;
import java.util.ArrayList;
import java.util.List;
+import org.openapitools.jackson.nullable.JsonNullable;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import org.openapitools.jackson.nullable.JsonNullable;
+import java.util.NoSuchElementException;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.sendbird.client.JSON;
@@ -44,16 +48,16 @@
CreateAUserRequest.JSON_PROPERTY_USER_ID
})
@JsonTypeName("createAUser_request")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-06-16T11:20:47.026559+07:00[Asia/Jakarta]")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-10-16T16:18:28.613351+09:00[Asia/Seoul]")
public class CreateAUserRequest {
public static final String JSON_PROPERTY_DISCOVERY_KEYS = "discovery_keys";
- private List discoveryKeys = null;
+ private JsonNullable> discoveryKeys = JsonNullable.>undefined();
public static final String JSON_PROPERTY_ISSUE_ACCESS_TOKEN = "issue_access_token";
private Boolean issueAccessToken;
public static final String JSON_PROPERTY_METADATA = "metadata";
- private Object metadata;
+ private JsonNullable