11/**
2- * Type Definitions for SendBird SDK v3.0.83
2+ * Type Definitions for SendBird SDK v3.0.84
33 * homepage: https://sendbird.com/
44 * git: https://github.com/smilefam/SendBird-SDK-JavaScript
55 */
@@ -365,6 +365,14 @@ declare namespace SendBird {
365365 token : string ;
366366 } ;
367367 type getMessageChangeLogsByTokenHandler = ( data : messageChangeLogs , error : SendBirdError ) => void ;
368+ type mutedInfo = {
369+ isMuted : boolean ;
370+ startAt : number ;
371+ endAt : number ;
372+ remainingDuration : number ;
373+ description : string ;
374+ } ;
375+ type getMyMutedInfoHandler = ( info : mutedInfo , error : SendBirdError ) => void ;
368376 interface BaseChannel {
369377 url : string ;
370378 name : string ;
@@ -381,6 +389,7 @@ declare namespace SendBird {
381389
382390 getMessageChangeLogsByToken ( callback : getMessageChangeLogsByTokenHandler ) : void ;
383391 getMessageChangeLogsByToken ( token : string , callback : getMessageChangeLogsByTokenHandler ) : void ;
392+ getMyMutedInfo ( callback : getMyMutedInfoHandler ) : void ;
384393
385394 createOperatorListQuery ( ) : OperatorListQuery ;
386395
@@ -792,7 +801,9 @@ declare namespace SendBird {
792801 unbanUserWithUserId ( userId : string , callback : commonCallback ) : void ;
793802
794803 muteUser ( user : User , callback : commonCallback ) : void ;
804+ muteUser ( user : User , seconds : number , description : string , callback : commonCallback ) : void ;
795805 muteUserWithUserId ( userId : string , callback : commonCallback ) : void ;
806+ muteUserWithUserId ( userId : string , seconds : number , description : string , callback : commonCallback ) : void ;
796807 unmuteUser ( user : User , callback : commonCallback ) : void ;
797808 unmuteUserWithUserId ( userId : string , callback : commonCallback ) : void ;
798809
@@ -975,7 +986,9 @@ declare namespace SendBird {
975986 unbanUserWithUserId ( userId : string , callback : commonCallback ) : void ;
976987
977988 muteUser ( user : User , callback : commonCallback ) : void ;
989+ muteUser ( user : User , seconds : number , description : string , callback : commonCallback ) : void ;
978990 muteUserWithUserId ( userId : string , callback : commonCallback ) : void ;
991+ muteUserWithUserId ( userId : string , seconds : number , description : string , callback : commonCallback ) : void ;
979992 unmuteUser ( user : User , callback : commonCallback ) : void ;
980993 unmuteUserWithUserId ( userId : string , callback : commonCallback ) : void ;
981994
@@ -1070,7 +1083,7 @@ declare namespace SendBird {
10701083 hasNext : boolean ;
10711084 isLoading : boolean ;
10721085 includeEmpty : boolean ;
1073- order : 'latest_last_message' | 'chronological' | 'channel_name_alphabetical' ;
1086+ order : 'latest_last_message' | 'chronological' | 'channel_name_alphabetical' | 'metadata_value_alphabetical' ;
10741087 userIdsFilter : Array < string > ; // DEPRECATED
10751088 userIdsFilterExactMatch : boolean ; // DEPRECATED
10761089 queryType : 'AND' | 'OR' ; // DEPRECATED
@@ -1085,6 +1098,7 @@ declare namespace SendBird {
10851098 channelUrlsFilter : Array < string > ;
10861099 superChannelFilter : 'all' | 'super' | 'nonsuper' ;
10871100 publicChannelFilter : 'all' | 'public' | 'private' ;
1101+ metadataOrderKeyFilter : string ;
10881102
10891103 next ( callback : groupChannelListQueryCallback ) : void ;
10901104 }
@@ -1094,13 +1108,14 @@ declare namespace SendBird {
10941108 hasNext : boolean ;
10951109 isLoading : boolean ;
10961110 includeEmpty : boolean ;
1097- order : 'chronological' | 'channel_name_alphabetical' ;
1111+ order : 'chronological' | 'channel_name_alphabetical' | 'metadata_value_alphabetical' ;
10981112 channelNameContainsFilter : string ;
10991113 channelUrlsFilter : Array < string > ;
11001114 customTypesFilter : Array < string > ;
11011115 customTypeStartsWithFilter : string ;
11021116 superChannelFilter : 'all' | 'super' | 'nonsuper' ;
11031117 membershipFilter : 'all' | 'joined' ;
1118+ metadataOrderKeyFilter : string ;
11041119 next ( callback : groupChannelListQueryCallback ) : void ;
11051120 }
11061121}
0 commit comments