11/**
2- * Type Definitions for Sendbird SDK v3.0.133
2+ * Type Definitions for Sendbird SDK v3.0.134
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
@@ -286,15 +286,15 @@ declare namespace SendBird {
286286 }
287287
288288 interface UserEventHandlerStatic {
289- new ( ) : UserEventHandler ;
289+ new ( ) : UserEventHandler ;
290290 }
291291 interface UserEventHandler {
292292 onFriendsDiscovered ( users : Array < User > ) : void ;
293293 onTotalUnreadMessageCountUpdated ( totalCount : Number , countByCustomTypes : Object ) : void ;
294294 }
295295
296296 interface ChannelHandlerStatic {
297- new ( ) : ChannelHandler ;
297+ new ( ) : ChannelHandler ;
298298 }
299299 interface ChannelHandler {
300300 onMessageReceived ( channel : OpenChannel | GroupChannel , message : AdminMessage | UserMessage | FileMessage ) : void ;
@@ -330,7 +330,7 @@ declare namespace SendBird {
330330 }
331331
332332 interface ConnectionHandlerStatic {
333- new ( ) : ConnectionHandler ;
333+ new ( ) : ConnectionHandler ;
334334 }
335335 interface ConnectionHandler {
336336 onReconnectStarted ( ) : void ;
@@ -392,7 +392,7 @@ declare namespace SendBird {
392392 }
393393
394394 interface GroupChannelTotalUnreadMessageCountParams {
395- new ( ) : GroupChannelTotalUnreadMessageCountParams ;
395+ new ( ) : GroupChannelTotalUnreadMessageCountParams ;
396396 channelCustomTypesFilter : Array < string > ;
397397 superChannelFilter : 'all' | 'super' | 'nonsuper' ;
398398 }
@@ -415,7 +415,7 @@ declare namespace SendBird {
415415 }
416416
417417 interface UserMessageParams {
418- new ( ) : UserMessageParams ;
418+ new ( ) : UserMessageParams ;
419419 message : string ;
420420 data : string ;
421421 customType : string ;
@@ -448,7 +448,7 @@ declare namespace SendBird {
448448 }
449449
450450 interface FileMessageParams {
451- new ( ) : FileMessageParams ;
451+ new ( ) : FileMessageParams ;
452452 file : File ;
453453 fileUrl : string ;
454454 fileName : string ;
@@ -488,7 +488,7 @@ declare namespace SendBird {
488488 }
489489
490490 interface MessageRetrievalParams {
491- new ( ) : MessageRetrievalParams ;
491+ new ( ) : MessageRetrievalParams ;
492492 channelUrl : string ;
493493 channelType : string ;
494494 messageId : number ;
@@ -497,7 +497,7 @@ declare namespace SendBird {
497497 includeThreadInfo : boolean ;
498498 }
499499 interface MessageListParams {
500- new ( ) : MessageListParams ;
500+ new ( ) : MessageListParams ;
501501 prevResultSize : number ;
502502 nextResultSize : number ;
503503 isInclusive : boolean ;
@@ -512,7 +512,7 @@ declare namespace SendBird {
512512 includeThreadInfo : boolean ;
513513 }
514514 interface ThreadedMessageListParams {
515- new ( ) : ThreadedMessageListParams ;
515+ new ( ) : ThreadedMessageListParams ;
516516 prevResultSize : number ;
517517 nextResultSize : number ;
518518 isInclusive : boolean ;
@@ -525,7 +525,7 @@ declare namespace SendBird {
525525 includeParentMessageText : boolean ;
526526 }
527527 interface MessageChangeLogsParams {
528- new ( ) : MessageChangeLogsParams ;
528+ new ( ) : MessageChangeLogsParams ;
529529 includeMetaArray : boolean ;
530530 includeReactions : boolean ;
531531 includeReplies : boolean ;
@@ -1480,7 +1480,7 @@ declare namespace SendBird {
14801480 * GroupChannel
14811481 */
14821482 interface GroupChannelParams {
1483- new ( ) : GroupChannelParams ;
1483+ new ( ) : GroupChannelParams ;
14841484 isDistinct : boolean ;
14851485 isSuper : boolean ;
14861486 isBroadcast : boolean ;
@@ -1506,7 +1506,7 @@ declare namespace SendBird {
15061506 }
15071507
15081508 interface ScheduledUserMessageParams {
1509- new ( ) : ScheduledUserMessageParams ;
1509+ new ( ) : ScheduledUserMessageParams ;
15101510 message : string ;
15111511 data : string ;
15121512 customType : string ;
@@ -1528,7 +1528,7 @@ declare namespace SendBird {
15281528 }
15291529
15301530 interface GroupChannelChangeLogsParams {
1531- new ( ) : GroupChannelChangeLogsParams ;
1531+ new ( ) : GroupChannelChangeLogsParams ;
15321532 customTypes : Array < string > ;
15331533 includeEmpty : boolean ;
15341534 includeFrozen : boolean ;
@@ -1540,18 +1540,18 @@ declare namespace SendBird {
15401540 }
15411541
15421542 interface MessageMetaArray {
1543- new ( key : string , value : Array < string > ) : MessageMetaArray ;
1543+ new ( key : string , value : Array < string > ) : MessageMetaArray ;
15441544 key : string ;
15451545 value : Array < string > ;
15461546 }
15471547 interface Reaction {
1548- new ( ) : Reaction ;
1548+ new ( ) : Reaction ;
15491549 key : string ;
15501550 userIds : Array < string > ;
15511551 updatedAt : number ;
15521552 }
15531553 interface ReactionEvent {
1554- new ( ) : ReactionEvent ;
1554+ new ( ) : ReactionEvent ;
15551555 messageId : number ;
15561556 userId : string ;
15571557 key : string ;
@@ -1560,29 +1560,29 @@ declare namespace SendBird {
15601560 }
15611561
15621562 interface ThreadInfo {
1563- new ( ) : ThreadInfo ;
1563+ new ( ) : ThreadInfo ;
15641564 replyCount : number ;
15651565 mostRepliedUsers : Array < User > ;
15661566 lastRepliedAt : number ;
15671567 updatedAt : number ;
15681568 }
15691569 interface ThreadInfoUpdateEvent {
1570- new ( ) : ThreadInfoUpdateEvent ;
1570+ new ( ) : ThreadInfoUpdateEvent ;
15711571 threadInfo : ThreadInfo ;
15721572 targetMessageId : number ;
15731573 channelUrl : string ;
15741574 channelType : string ;
15751575 }
15761576
15771577 interface OGMetaData {
1578- new ( ) : OGMetaData ;
1578+ new ( ) : OGMetaData ;
15791579 title : string ;
15801580 url : string ;
15811581 description : string ;
15821582 defaultImage : OGImage ;
15831583 }
15841584 interface OGImage {
1585- new ( ) : OGImage ;
1585+ new ( ) : OGImage ;
15861586 url : string ;
15871587 secureUrl : string ;
15881588 type : string ;
@@ -1679,7 +1679,8 @@ declare namespace SendBird {
16791679 startTyping ( ) : void ;
16801680 endTyping ( ) : void ;
16811681 isTyping ( ) : boolean ;
1682- getTypingMembers ( ) : Array < Member > ;
1682+ getTypingMembers ( ) : Array < Member > ; // DEPRECATE
1683+ getTypingUsers ( ) : Array < User > ;
16831684
16841685 setPushPreference ( pushOn : boolean , callback : commonCallback ) : void ; // DEPRECATED
16851686 getPushPreference ( callback : getPushPreferenceCallback ) : void ; // DEPRECATED
0 commit comments