Comparing version 3.0.110 to 3.0.111
Changelog | ||
========= | ||
## v3.0.111(OCT 25, 2019) | ||
* Compatibility fix for React Native and Internet Explorer 10. | ||
* Improved stability. | ||
## v3.0.110(OCT 23, 2019) | ||
@@ -5,0 +9,0 @@ * Improved stability. |
{ | ||
"name": "sendbird", | ||
"version": "3.0.110", | ||
"version": "3.0.111", | ||
"description": "SendBird JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "main": "SendBird.min.js", |
@@ -51,5 +51,6 @@ [![npm](https://img.shields.io/npm/v/sendbird.svg?style=popout&colorB=red)](https://www.npmjs.com/package/sendbird) | ||
## v3.0.110(OCT 23, 2019) | ||
## v3.0.111(OCT 25, 2019) | ||
If you want to check the record of other version, go to [Change Log](https://github.com/sendbird/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md). | ||
* Compatibility fix for React Native and Internet Explorer 10. | ||
* Improved stability. | ||
@@ -56,0 +57,0 @@ |
/** | ||
* Type Definitions for SendBird SDK v3.0.110 | ||
* homepage: https://sendbird.com/ | ||
* Type Definitions for SendBird SDK v3.0.111 | ||
* homepage: https://sendbird.com | ||
* git: https://github.com/sendbird/SendBird-SDK-JavaScript | ||
@@ -45,3 +45,3 @@ */ | ||
deviceTokens: Array<string>; | ||
type: 'gcm' | 'apns' | 'apns_voip'; | ||
type: "gcm" | "apns" | "apns_voip"; | ||
hasMore: boolean; | ||
@@ -136,3 +136,3 @@ token: string; | ||
unregisterPushTokenAllForCurrentUser(callback?: commonCallback): void; // This removes all push tokens including APNS/GCM | ||
getMyPushTokensByToken(token: string, type: 'gcm' | 'apns' | 'apns_voip', callback: getMyPushTokensHandler): void; | ||
getMyPushTokensByToken(token: string, type: "gcm" | "apns" | "apns_voip", callback: getMyPushTokensHandler): void; | ||
@@ -142,3 +142,3 @@ setPushTemplate(templateName: string, callback?: pushSettingCallback): void; | ||
setPushTriggerOption(pushTriggerOption: 'all' | 'mention_only' | 'off', callback: commonCallback): void; | ||
setPushTriggerOption(pushTriggerOption: "all" | "mention_only" | "off", callback: commonCallback): void; | ||
getPushTriggerOption(callback: getPushTriggerOptionCallback): void; | ||
@@ -187,6 +187,3 @@ | ||
getUnreadItemCount(keys: Array<string>, callback: commonCallback): void; | ||
getTotalUnreadMessageCount( | ||
groupChannelTotalUnreadMessageCountParams: GroupChannelTotalUnreadMessageCountParams, | ||
callback: groupChannelCountCallback | ||
): void; | ||
getTotalUnreadMessageCount(groupChannelTotalUnreadMessageCountParams: GroupChannelTotalUnreadMessageCountParams, callback: groupChannelCountCallback): void; | ||
getTotalUnreadMessageCount(callback: groupChannelCountCallback): void; | ||
@@ -200,24 +197,6 @@ getTotalUnreadMessageCount(channelCustomTypes: Array<string>, callback: groupChannelCountCallback): void; | ||
getMyGroupChannelChangeLogsByToken( | ||
token: string, | ||
customTypes: Array<string>, | ||
callback: getGroupChannelChangeLogsHandler | ||
): void; | ||
getMyGroupChannelChangeLogsByToken( | ||
token: string, | ||
customTypes: Array<string>, | ||
includeEmpty: boolean, | ||
callback: getGroupChannelChangeLogsHandler | ||
): void; | ||
getMyGroupChannelChangeLogsByTimestamp( | ||
ts: number, | ||
customTypes: Array<string>, | ||
callback: getGroupChannelChangeLogsHandler | ||
): void; | ||
getMyGroupChannelChangeLogsByTimestamp( | ||
ts: number, | ||
customTypes: Array<string>, | ||
includeEmpty: boolean, | ||
callback: getGroupChannelChangeLogsHandler | ||
): void; | ||
getMyGroupChannelChangeLogsByToken(token: string, customTypes: Array<string>, callback: getGroupChannelChangeLogsHandler): void; | ||
getMyGroupChannelChangeLogsByToken(token: string, customTypes: Array<string>, includeEmpty: boolean, callback: getGroupChannelChangeLogsHandler): void; | ||
getMyGroupChannelChangeLogsByTimestamp(ts: number, customTypes: Array<string>, callback: getGroupChannelChangeLogsHandler): void; | ||
getMyGroupChannelChangeLogsByTimestamp(ts: number, customTypes: Array<string>, includeEmpty: boolean, callback: getGroupChannelChangeLogsHandler): void; | ||
} | ||
@@ -328,3 +307,3 @@ | ||
channelCustomTypesFilter: Array<string>; | ||
superChannelFilter: 'all' | 'super' | 'nonsuper'; | ||
superChannelFilter: "all" | "super" | "nonsuper"; | ||
} | ||
@@ -339,7 +318,7 @@ | ||
translationTargetLanguages: Array<string>; | ||
mentionType: 'users' | 'channel'; | ||
mentionType: "users" | "channel"; | ||
mentionedUserIds: Array<string>; | ||
mentionedUsers: Array<User>; | ||
metaArrayKeys: Array<string>; | ||
pushNotificationDeliveryOption: 'default' | 'suppress'; | ||
pushNotificationDeliveryOption: "default" | "suppress"; | ||
} | ||
@@ -351,3 +330,3 @@ interface UserMessage extends BaseMessageInstance { | ||
translations: Object; | ||
requestState: 'none' | 'pending' | 'failed' | 'succeeded'; | ||
requestState: "none" | "pending" | "failed" | "succeeded"; | ||
requestedMentionUserIds: Array<string>; | ||
@@ -369,7 +348,7 @@ } | ||
thumbnailSizes: Array<ThumbnailSize>; | ||
mentionType: 'users' | 'channel'; | ||
mentionType: "users" | "channel"; | ||
mentionedUserIds: Array<string>; | ||
mentionedUsers: Array<User>; | ||
metaArrayKeys: Array<string>; | ||
pushNotificationDeliveryOption: 'default' | 'suppress'; | ||
pushNotificationDeliveryOption: "default" | "suppress"; | ||
} | ||
@@ -384,3 +363,3 @@ interface FileMessage extends BaseMessageInstance { | ||
thumbnails: Array<ThumbnailObject>; | ||
requestState: 'none' | 'pending' | 'failed' | 'succeeded'; | ||
requestState: "none" | "pending" | "failed" | "succeeded"; | ||
requestedMentionUserIds: Array<string>; | ||
@@ -439,3 +418,3 @@ } | ||
interface Member extends User { | ||
state: 'invited' | 'joined'; | ||
state: "invited" | "joined"; | ||
isBlockedByMe: boolean; | ||
@@ -687,11 +666,7 @@ isBlockingMe: boolean; | ||
sendFileMessage(file: File, data: string, customType: string, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage(file: File, data: string, customType: string, thumbnailSizes: Array<ThumbnailSize>, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage(file: File, name: string, type: string, size: number, data: string, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage(file: File, name: string, type: string, size: number, data: string, customType: string, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: File, | ||
data: string, | ||
customType: string, | ||
thumbnailSizes: Array<ThumbnailSize>, | ||
callback: messageCallback | ||
): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: File, | ||
name: string, | ||
@@ -701,20 +676,3 @@ type: string, | ||
data: string, | ||
callback: messageCallback | ||
): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: File, | ||
name: string, | ||
type: string, | ||
size: number, | ||
data: string, | ||
customType: string, | ||
callback: messageCallback | ||
): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: File, | ||
name: string, | ||
type: string, | ||
size: number, | ||
data: string, | ||
customType: string, | ||
thumbnailSizes: Array<ThumbnailSize>, | ||
@@ -724,25 +682,10 @@ callback: messageCallback | ||
sendFileMessage( | ||
fileMessageParams: FileMessageParams, | ||
progressHandler: fileUploadprogressHandler, | ||
callback: messageCallback | ||
): FileMessage; | ||
sendFileMessage(fileMessageParams: FileMessageParams, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; | ||
sendFileMessage(file: File, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; | ||
sendFileMessage(file: File, data: string, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage(file: File, data: string, customType: string, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: File, | ||
data: string, | ||
progressHandler: fileUploadprogressHandler, | ||
callback: messageCallback | ||
): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: File, | ||
data: string, | ||
customType: string, | ||
progressHandler: fileUploadprogressHandler, | ||
callback: messageCallback | ||
): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: File, | ||
data: string, | ||
customType: string, | ||
thumbnailSizes: Array<ThumbnailSize>, | ||
@@ -786,36 +729,10 @@ progressHandler: fileUploadprogressHandler, | ||
sendFileMessage(file: string, data: string, customType: string, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: string, | ||
name: string, | ||
type: string, | ||
size: number, | ||
data: string, | ||
callback: messageCallback | ||
): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: string, | ||
name: string, | ||
type: string, | ||
size: number, | ||
data: string, | ||
customType: string, | ||
callback: messageCallback | ||
): FileMessage; | ||
sendFileMessage(file: string, name: string, type: string, size: number, data: string, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage(file: string, name: string, type: string, size: number, data: string, customType: string, callback: messageCallback): FileMessage; | ||
sendFileMessage(file: string, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage(file: string, data: string, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage(file: string, data: string, customType: string, progressHandler: fileUploadprogressHandler, callback: messageCallback): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: string, | ||
data: string, | ||
progressHandler: fileUploadprogressHandler, | ||
callback: messageCallback | ||
): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: string, | ||
data: string, | ||
customType: string, | ||
progressHandler: fileUploadprogressHandler, | ||
callback: messageCallback | ||
): FileMessage; // DEPRECATED | ||
sendFileMessage( | ||
file: string, | ||
name: string, | ||
@@ -839,6 +756,3 @@ type: string, | ||
sendFileMessages( | ||
fileMessageParamsList: Array<FileMessageParams>, | ||
callbackObject: fileMessagesCallbackObject | ||
): Array<FileMessage>; | ||
sendFileMessages(fileMessageParamsList: Array<FileMessageParams>, callbackObject: fileMessagesCallbackObject): Array<FileMessage>; | ||
@@ -850,9 +764,3 @@ /** UserMessage */ | ||
sendUserMessage(message: string, data: string, customType: string, callback: messageCallback): UserMessage; // DEPRECATED | ||
sendUserMessage( | ||
message: string, | ||
data: string, | ||
customType: string, | ||
translationTargetLanguages: Array<string>, | ||
callback: messageCallback | ||
): UserMessage; | ||
sendUserMessage(message: string, data: string, customType: string, translationTargetLanguages: Array<string>, callback: messageCallback): UserMessage; | ||
@@ -863,7 +771,3 @@ resendUserMessage(userMessage: UserMessage, callback: messageCallback): void; | ||
translateUserMessage( | ||
message: UserMessage, | ||
translationTargetLanguages: Array<string>, | ||
callback: messageCallback | ||
): void; | ||
translateUserMessage(message: UserMessage, translationTargetLanguages: Array<string>, callback: messageCallback): void; | ||
@@ -873,9 +777,3 @@ /** Edit Message */ | ||
updateFileMessage(messageId: number, fileMessageParams: FileMessageParams, callback: messageCallback): void; | ||
updateUserMessage( | ||
messageId: number, | ||
message: string, | ||
data: string, | ||
customType: string, | ||
callback: messageCallback | ||
): void; | ||
updateUserMessage(messageId: number, message: string, data: string, customType: string, callback: messageCallback): void; | ||
updateUserMessage(messageId: number, userMessageParams: UserMessageParams, callback: messageCallback): void; | ||
@@ -906,33 +804,9 @@ deleteMessage(message: FileMessage | UserMessage, callback: commonCallback): void; | ||
/** MessageMetaArray */ | ||
createMessageMetaArrayKeys( | ||
message: UserMessage | FileMessage | AdminMessage, | ||
keys: Array<string>, | ||
callback: commonCallback | ||
): void; | ||
deleteMessageMetaArrayKeys( | ||
message: UserMessage | FileMessage | AdminMessage, | ||
keys: Array<string>, | ||
callback: commonCallback | ||
): void; | ||
addMessageMetaArrayValues( | ||
message: UserMessage | FileMessage | AdminMessage, | ||
data: Array<MessageMetaArray>, | ||
callback: commonCallback | ||
): void; | ||
removeMessageMetaArrayValues( | ||
message: UserMessage | FileMessage | AdminMessage, | ||
data: Array<MessageMetaArray>, | ||
callback: commonCallback | ||
): void; | ||
createMessageMetaArrayKeys(message: UserMessage | FileMessage | AdminMessage, keys: Array<string>, callback: commonCallback): void; | ||
deleteMessageMetaArrayKeys(message: UserMessage | FileMessage | AdminMessage, keys: Array<string>, callback: commonCallback): void; | ||
addMessageMetaArrayValues(message: UserMessage | FileMessage | AdminMessage, data: Array<MessageMetaArray>, callback: commonCallback): void; | ||
removeMessageMetaArrayValues(message: UserMessage | FileMessage | AdminMessage, data: Array<MessageMetaArray>, callback: commonCallback): void; | ||
addMessageMetaArrayValues( | ||
message: UserMessage | FileMessage | AdminMessage, | ||
data: Object, | ||
callback: commonCallback | ||
): void; // DEPRECATED | ||
removeMessageMetaArrayValues( | ||
message: UserMessage | FileMessage | AdminMessage, | ||
data: Object, | ||
callback: commonCallback | ||
): void; // DEPRECATED | ||
addMessageMetaArrayValues(message: UserMessage | FileMessage | AdminMessage, data: Object, callback: commonCallback): void; // DEPRECATED | ||
removeMessageMetaArrayValues(message: UserMessage | FileMessage | AdminMessage, data: Object, callback: commonCallback): void; // DEPRECATED | ||
@@ -942,14 +816,6 @@ /** Report */ | ||
reportUser(user: User, category: string, description: string, callback: commonCallback): void; | ||
reportMessage( | ||
message: UserMessage | FileMessage | AdminMessage, | ||
category: string, | ||
description: string, | ||
callback: commonCallback | ||
): void; | ||
reportMessage(message: UserMessage | FileMessage | AdminMessage, category: string, description: string, callback: commonCallback): void; | ||
} | ||
type messageListCallback = ( | ||
messageList: Array<UserMessage | FileMessage | AdminMessage>, | ||
error: SendBirdError | ||
) => void; | ||
type messageListCallback = (messageList: Array<UserMessage | FileMessage | AdminMessage>, error: SendBirdError) => void; | ||
interface MessageListQuery { | ||
@@ -959,9 +825,3 @@ // DEPRECATED | ||
prev(messageTimestamp: number, limit: number, reverse: boolean, callback: messageListCallback): void; | ||
load( | ||
messageTimestamp: number, | ||
prevLimit: number, | ||
nextLimit: number, | ||
reverse: boolean, | ||
callback: messageListCallback | ||
): void; | ||
load(messageTimestamp: number, prevLimit: number, nextLimit: number, reverse: boolean, callback: messageListCallback): void; | ||
} | ||
@@ -1003,2 +863,3 @@ | ||
updateChannel(name: string, coverUrlOrImageFile: string | File, data: string, callback: openChannelCallback): void; | ||
updateChannel(name: string, coverUrlOrImageFile: string | File, data: string, operatorUserIds: Array<string> | string, callback: openChannelCallback): void; // DEPRECATED | ||
updateChannel( | ||
@@ -1009,9 +870,2 @@ name: string, | ||
operatorUserIds: Array<string> | string, | ||
callback: openChannelCallback | ||
): void; // DEPRECATED | ||
updateChannel( | ||
name: string, | ||
coverUrlOrImageFile: string | File, | ||
data: string, | ||
operatorUserIds: Array<string> | string, | ||
customType: string, | ||
@@ -1126,2 +980,3 @@ callback: openChannelCallback | ||
createChannel(name: string, coverUrlOrImageFile: string | File, data: string, callback: openChannelCallback): void; // DEPRECATED | ||
createChannel(name: string, coverUrlOrImageFile: string | File, data: string, operatorUserIds: Array<string> | string, callback: openChannelCallback): void; // DEPRECATED | ||
createChannel( | ||
@@ -1132,9 +987,2 @@ name: string, | ||
operatorUserIds: Array<string> | string, | ||
callback: openChannelCallback | ||
): void; // DEPRECATED | ||
createChannel( | ||
name: string, | ||
coverUrlOrImageFile: string | File, | ||
data: string, | ||
operatorUserIds: Array<string> | string, | ||
customType: string, | ||
@@ -1181,3 +1029,3 @@ callback: openChannelCallback | ||
scheduledTimezone: string; | ||
status: 'scheduled' | 'sent' | 'canceled' | 'failed'; | ||
status: "scheduled" | "sent" | "canceled" | "failed"; | ||
createdAt: number; | ||
@@ -1192,5 +1040,5 @@ updatedAt: number; | ||
metaArrays: Array<MessageMetaArray>; | ||
mentionType: 'users' | 'channel'; | ||
mentionType: "users" | "channel"; | ||
mentionedUsers: Array<User>; | ||
pushNotificationDeliveryOption: 'default' | 'suppress'; | ||
pushNotificationDeliveryOption: "default" | "suppress"; | ||
translationTargetLanguages: Array<string>; | ||
@@ -1240,6 +1088,6 @@ errorMessage: string; | ||
metaArrayKeys: Array<string>; | ||
mentionType: 'users' | 'channel'; | ||
mentionType: "users" | "channel"; | ||
mentionedUserIds: Array<string>; | ||
mentionedUsers: Array<User>; | ||
pushNotificationDeliveryOption: 'default' | 'suppress'; | ||
pushNotificationDeliveryOption: "default" | "suppress"; | ||
year: number; | ||
@@ -1269,6 +1117,3 @@ month: number; | ||
type getPushPreferenceCallback = (isPushOn: boolean, error: SendBirdError) => void; | ||
type getPushTriggerOptionCallback = ( | ||
pushTriggerOption: 'all' | 'mention_only' | 'off' | 'default', | ||
error: SendBirdError | ||
) => void; | ||
type getPushTriggerOptionCallback = (pushTriggerOption: "all" | "mention_only" | "off" | "default", error: SendBirdError) => void; | ||
interface GroupChannel extends BaseChannel { | ||
@@ -1279,4 +1124,4 @@ isHidden: boolean; | ||
isPublic: boolean; | ||
isPushEnabled: boolean; // DEPRECASED | ||
myPushTriggerOption: 'default' | 'all' | 'mention_only' | 'off'; | ||
isPushEnabled: boolean; // DEPRECATED | ||
myPushTriggerOption: "default" | "all" | "mention_only" | "off"; | ||
myCountPreference: string; | ||
@@ -1289,10 +1134,11 @@ lastMessage: UserMessage | FileMessage | AdminMessage; | ||
joinedMemberCount: number; | ||
myMemberState: 'none' | 'joined' | 'invited'; | ||
myRole: 'operator' | 'none'; | ||
myMutedState: 'muted' | 'unmuted'; | ||
myMemberState: "none" | "joined" | "invited"; | ||
myRole: "operator" | "none"; | ||
myMutedState: "muted" | "unmuted"; | ||
inviter: User; | ||
invitedAt: number; | ||
isAccessCodeRequired: boolean; | ||
hiddenState: 'unhidden' | 'hidden_allow_auto_unhide' | 'hidden_prevent_auto_unhide'; | ||
hiddenState: "unhidden" | "hidden_allow_auto_unhide" | "hidden_prevent_auto_unhide"; | ||
isDiscoverable: boolean; | ||
myLastRead: number; | ||
@@ -1306,2 +1152,3 @@ isEqual(target: GroupChannel): boolean; | ||
updateChannel(name: string, coverUrlOrImageFile: string | File, data: string, callback: groupChannelCallback): void; | ||
updateChannel(isDistinct: boolean, name: string, coverUrlOrImageFile: string | File, data: string, callback: groupChannelCallback): void; // DEPRECATED | ||
updateChannel( | ||
@@ -1312,9 +1159,2 @@ isDistinct: boolean, | ||
data: string, | ||
callback: groupChannelCallback | ||
): void; // DEPRECATED | ||
updateChannel( | ||
isDistinct: boolean, | ||
name: string, | ||
coverUrlOrImageFile: string | File, | ||
data: string, | ||
customType: string, | ||
@@ -1354,11 +1194,5 @@ callback: groupChannelCallback | ||
getPushPreference(callback: getPushPreferenceCallback): void; // DEPRECATED | ||
setMyPushTriggerOption( | ||
pushTriggerOption: 'all' | 'mention_only' | 'off' | 'default', | ||
callback: getPushTriggerOptionCallback | ||
): void; | ||
setMyPushTriggerOption(pushTriggerOption: "all" | "mention_only" | "off" | "default", callback: getPushTriggerOptionCallback): void; | ||
getMyPushTriggerOption(callback: getPushTriggerOptionCallback): void; | ||
setMyCountPreference( | ||
preference: 'all' | 'unread_message_count_only' | 'unread_mention_count_only' | 'off', | ||
callback: commonCallback | ||
): void; | ||
setMyCountPreference(preference: "all" | "unread_message_count_only" | "unread_mention_count_only" | "off", callback: commonCallback): void; | ||
@@ -1383,6 +1217,3 @@ createMemberListQuery(): GroupChannelMemberListQuery; | ||
registerScheduledUserMessage( | ||
scheduledUserMessageParams: ScheduledUserMessageParams, | ||
callback: scheduledUserMessageCallback | ||
): void; | ||
registerScheduledUserMessage(scheduledUserMessageParams: ScheduledUserMessageParams, callback: scheduledUserMessageCallback): void; | ||
} | ||
@@ -1398,6 +1229,3 @@ | ||
getUnreadItemCount(keys: Array<string>, callback: commonCallback): void; // DEPRECATED | ||
getTotalUnreadMessageCount( | ||
groupChannelTotalUnreadMessageCountParams: GroupChannelTotalUnreadMessageCountParams, | ||
callback: groupChannelCountCallback | ||
): void; // DEPRECATED | ||
getTotalUnreadMessageCount(groupChannelTotalUnreadMessageCountParams: GroupChannelTotalUnreadMessageCountParams, callback: groupChannelCountCallback): void; // DEPRECATED | ||
getTotalUnreadMessageCount(callback: groupChannelCountCallback): void; // DEPRECATED | ||
@@ -1428,18 +1256,10 @@ getTotalUnreadMessageCount(channelCustomTypes: Array<string>, callback: groupChannelCountCallback): void; // DEPRECATED | ||
): void; | ||
createDistinctChannelIfNotExist( | ||
groupChannelParams: GroupChannelParams, | ||
callback: distinctGroupChannelCallback | ||
): void; | ||
createDistinctChannelIfNotExist(groupChannelParams: GroupChannelParams, callback: distinctGroupChannelCallback): void; | ||
createChannelWithUserIds(userIds: Array<string>, callback: groupChannelCallback): void; | ||
createChannelWithUserIds(userIds: Array<string>, isDistinct: boolean, callback: groupChannelCallback): void; // DEPRECATED | ||
createChannelWithUserIds(userIds: Array<string>, isDistinct: boolean, customType: string, callback: groupChannelCallback): void; // DEPRECATED | ||
createChannelWithUserIds( | ||
userIds: Array<string>, | ||
isDistinct: boolean, | ||
customType: string, | ||
callback: groupChannelCallback | ||
): void; // DEPRECATED | ||
createChannelWithUserIds( | ||
userIds: Array<string>, | ||
isDistinct: boolean, | ||
name: string, | ||
@@ -1471,5 +1291,5 @@ coverUrlOrImageFile: string | File, | ||
isLoading: boolean; | ||
mutedMemberFilter: 'all' | 'muted' | 'unmuted'; | ||
operatorFilter: 'all' | 'operator' | 'nonoperator'; // DEPRECATED | ||
memberStateFilter: 'all' | 'joined_only' | 'invited_only' | 'invited_by_friend' | 'invited_by_non_friend'; | ||
mutedMemberFilter: "all" | "muted" | "unmuted"; | ||
operatorFilter: "all" | "operator" | "nonoperator"; // DEPRECATED | ||
memberStateFilter: "all" | "joined_only" | "invited_only" | "invited_by_friend" | "invited_by_non_friend"; | ||
nicknameStartsWithFilter: string; | ||
@@ -1489,9 +1309,9 @@ | ||
includeEmpty: boolean; | ||
order: 'latest_last_message' | 'chronological' | 'channel_name_alphabetical' | 'metadata_value_alphabetical'; | ||
order: "latest_last_message" | "chronological" | "channel_name_alphabetical" | "metadata_value_alphabetical"; | ||
userIdsFilter: Array<string>; // DEPRECATED | ||
userIdsFilterExactMatch: boolean; // DEPRECATED | ||
queryType: 'AND' | 'OR'; // DEPRECATED | ||
queryType: "AND" | "OR"; // DEPRECATED | ||
userIdsExactFilter: Array<string>; | ||
userIdsIncludeFilter: Array<string>; | ||
userIdsIncludeFilterQueryType: 'AND' | 'OR'; | ||
userIdsIncludeFilterQueryType: "AND" | "OR"; | ||
nicknameContainsFilter: string; | ||
@@ -1503,7 +1323,8 @@ channelNameContainsFilter: string; | ||
channelUrlsFilter: Array<string>; | ||
superChannelFilter: 'all' | 'super' | 'nonsuper'; | ||
publicChannelFilter: 'all' | 'public' | 'private'; | ||
superChannelFilter: "all" | "super" | "nonsuper"; | ||
publicChannelFilter: "all" | "public" | "private"; | ||
metadataOrderKeyFilter: string; | ||
hiddenChannelFilter: 'unhidden_only' | 'hidden_only' | 'hidden_allow_auto_unhide' | 'hidden_prevent_auto_unhide'; | ||
unreadChannelFilter: 'all' | 'unread_message'; | ||
memberStateFilter: "all" | "joined_only" | "invited_only" | "invited_by_friend" | "invited_by_non_friend"; | ||
hiddenChannelFilter: "unhidden_only" | "hidden_only" | "hidden_allow_auto_unhide" | "hidden_prevent_auto_unhide"; | ||
unreadChannelFilter: "all" | "unread_message"; | ||
@@ -1520,3 +1341,3 @@ setSearchFilter(fields: Array<string>, queryString: string): void; | ||
includeEmpty: boolean; | ||
order: 'chronological' | 'channel_name_alphabetical' | 'metadata_value_alphabetical'; | ||
order: "chronological" | "channel_name_alphabetical" | "metadata_value_alphabetical"; | ||
channelNameContainsFilter: string; | ||
@@ -1526,4 +1347,4 @@ channelUrlsFilter: Array<string>; | ||
customTypeStartsWithFilter: string; | ||
superChannelFilter: 'all' | 'super' | 'nonsuper'; | ||
membershipFilter: 'all' | 'joined'; | ||
superChannelFilter: "all" | "super" | "nonsuper"; | ||
membershipFilter: "all" | "joined"; | ||
metadataOrderKeyFilter: string; | ||
@@ -1530,0 +1351,0 @@ next(callback: groupChannelListQueryCallback): void; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
343249
65
1179