11/**
2- * Type Definitions for SendBird SDK v3.0.125
2+ * Type Definitions for SendBird SDK v3.0.126
33 * homepage: https://sendbird.com/
44 * git: https://github.com/sendbird/SendBird-SDK-JavaScript
55 */
@@ -11,7 +11,7 @@ declare const SendBird: SendBirdStatic;
1111
1212interface SendBirdStatic {
1313 version : number ;
14- new ( { appId } : { appId : string } ) : SendBird . SendBirdInstance ;
14+ new ( { appId } : { appId : string } ) : SendBird . SendBirdInstance ;
1515 getInstance ( ) : SendBird . SendBirdInstance ;
1616}
1717
@@ -277,15 +277,15 @@ declare namespace SendBird {
277277 }
278278
279279 interface UserEventHandlerStatic {
280- new ( ) : UserEventHandler ;
280+ new ( ) : UserEventHandler ;
281281 }
282282 interface UserEventHandler {
283283 onFriendsDiscovered ( users : Array < User > ) : void ;
284284 onTotalUnreadMessageCountUpdated ( totalCount : Number , countByCustomTypes : Object ) : void ;
285285 }
286286
287287 interface ChannelHandlerStatic {
288- new ( ) : ChannelHandler ;
288+ new ( ) : ChannelHandler ;
289289 }
290290 interface ChannelHandler {
291291 onMessageReceived ( channel : OpenChannel | GroupChannel , message : AdminMessage | UserMessage | FileMessage ) : void ;
@@ -321,7 +321,7 @@ declare namespace SendBird {
321321 }
322322
323323 interface ConnectionHandlerStatic {
324- new ( ) : ConnectionHandler ;
324+ new ( ) : ConnectionHandler ;
325325 }
326326 interface ConnectionHandler {
327327 onReconnectStarted ( ) : void ;
@@ -343,6 +343,7 @@ declare namespace SendBird {
343343 reactions : Array < Reaction > ;
344344 mentionType : string ;
345345 mentionedUsers : Array < User > ;
346+ silent : boolean ;
346347 createdAt : number ;
347348 updatedAt : number ;
348349 parentMessageId : number ;
@@ -381,7 +382,7 @@ declare namespace SendBird {
381382 }
382383
383384 interface GroupChannelTotalUnreadMessageCountParams {
384- new ( ) : GroupChannelTotalUnreadMessageCountParams ;
385+ new ( ) : GroupChannelTotalUnreadMessageCountParams ;
385386 channelCustomTypesFilter : Array < string > ;
386387 superChannelFilter : 'all' | 'super' | 'nonsuper' ;
387388 }
@@ -404,7 +405,7 @@ declare namespace SendBird {
404405 }
405406
406407 interface UserMessageParams {
407- new ( ) : UserMessageParams ;
408+ new ( ) : UserMessageParams ;
408409 message : string ;
409410 data : string ;
410411 customType : string ;
@@ -437,7 +438,7 @@ declare namespace SendBird {
437438 }
438439
439440 interface FileMessageParams {
440- new ( ) : FileMessageParams ;
441+ new ( ) : FileMessageParams ;
441442 file : File ;
442443 fileUrl : string ;
443444 fileName : string ;
@@ -476,7 +477,7 @@ declare namespace SendBird {
476477 }
477478
478479 interface MessageRetrievalParams {
479- new ( ) : MessageRetrievalParams ;
480+ new ( ) : MessageRetrievalParams ;
480481 channelUrl : string ;
481482 channelType : string ;
482483 messageId : number ;
@@ -485,7 +486,7 @@ declare namespace SendBird {
485486 includeThreadInfo : boolean ;
486487 }
487488 interface MessageListParams {
488- new ( ) : MessageListParams ;
489+ new ( ) : MessageListParams ;
489490 prevResultSize : number ;
490491 nextResultSize : number ;
491492 isInclusive : boolean ;
@@ -500,7 +501,7 @@ declare namespace SendBird {
500501 includeThreadInfo : boolean ;
501502 }
502503 interface ThreadedMessageListParams {
503- new ( ) : ThreadedMessageListParams ;
504+ new ( ) : ThreadedMessageListParams ;
504505 prevResultSize : number ;
505506 nextResultSize : number ;
506507 isInclusive : boolean ;
@@ -513,7 +514,7 @@ declare namespace SendBird {
513514 includeParentMessageText : boolean ;
514515 }
515516 interface MessageChangeLogsParams {
516- new ( ) : MessageChangeLogsParams ;
517+ new ( ) : MessageChangeLogsParams ;
517518 includeMetaArray : boolean ;
518519 includeReactions : boolean ;
519520 includeReplies : boolean ;
@@ -1445,7 +1446,7 @@ declare namespace SendBird {
14451446 * GroupChannel
14461447 */
14471448 interface GroupChannelParams {
1448- new ( ) : GroupChannelParams ;
1449+ new ( ) : GroupChannelParams ;
14491450 isDistinct : boolean ;
14501451 isSuper : boolean ;
14511452 isBroadcast : boolean ;
@@ -1471,7 +1472,7 @@ declare namespace SendBird {
14711472 }
14721473
14731474 interface ScheduledUserMessageParams {
1474- new ( ) : ScheduledUserMessageParams ;
1475+ new ( ) : ScheduledUserMessageParams ;
14751476 message : string ;
14761477 data : string ;
14771478 customType : string ;
@@ -1505,18 +1506,18 @@ declare namespace SendBird {
15051506 }
15061507
15071508 interface MessageMetaArray {
1508- new ( key : string , value : Array < string > ) : MessageMetaArray ;
1509+ new ( key : string , value : Array < string > ) : MessageMetaArray ;
15091510 key : string ;
15101511 value : Array < string > ;
15111512 }
15121513 interface Reaction {
1513- new ( ) : Reaction ;
1514+ new ( ) : Reaction ;
15141515 key : string ;
15151516 userIds : Array < string > ;
15161517 updatedAt : number ;
15171518 }
15181519 interface ReactionEvent {
1519- new ( ) : ReactionEvent ;
1520+ new ( ) : ReactionEvent ;
15201521 messageId : string ;
15211522 userId : string ;
15221523 key : string ;
@@ -1525,14 +1526,14 @@ declare namespace SendBird {
15251526 }
15261527
15271528 interface ThreadInfo {
1528- new ( ) : ThreadInfo ;
1529+ new ( ) : ThreadInfo ;
15291530 replyCount : number ;
15301531 mostRepliedUsers : Array < User > ;
15311532 lastRepliedAt : number ;
15321533 updatedAt : number ;
15331534 }
15341535 interface ThreadInfoUpdateEvent {
1535- new ( ) : ThreadInfoUpdateEvent ;
1536+ new ( ) : ThreadInfoUpdateEvent ;
15361537 threadInfo : ThreadInfo ;
15371538 targetMessageId : number ;
15381539 channelUrl : string ;
0 commit comments