11/**
2- * Type Definitions for SendBird SDK v3.0.115
2+ * Type Definitions for SendBird SDK v3.0.116
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
@@ -179,6 +179,8 @@ declare namespace SendBird {
179179 markAsReadAll ( callback : commonCallback ) : void ;
180180 markAsReadWithChannelUrls ( channelUrls : Array < string > , callback : commonCallback ) : void ;
181181
182+ markAsDelivered ( channelUrl : String ) : void ;
183+
182184 getGroupChannelCount ( memberStateFilter : string , callback : commonCallback ) : void ;
183185
184186 getUnreadItemCount ( keys : Array < string > , callback : commonCallback ) : void ;
@@ -231,15 +233,15 @@ declare namespace SendBird {
231233 }
232234
233235 interface UserEventHandlerStatic {
234- new ( ) : UserEventHandler ;
236+ new ( ) : UserEventHandler ;
235237 }
236238 interface UserEventHandler {
237239 onFriendsDiscovered ( users : Array < User > ) : void ;
238240 onTotalUnreadMessageCountUpdated ( totalCount : Number , countByCustomTypes : Object ) : void ;
239241 }
240242
241243 interface ChannelHandlerStatic {
242- new ( ) : ChannelHandler ;
244+ new ( ) : ChannelHandler ;
243245 }
244246 interface ChannelHandler {
245247 onMessageReceived ( channel : OpenChannel | GroupChannel , message : AdminMessage | UserMessage | FileMessage ) : void ;
@@ -273,7 +275,7 @@ declare namespace SendBird {
273275 }
274276
275277 interface ConnectionHandlerStatic {
276- new ( ) : ConnectionHandler ;
278+ new ( ) : ConnectionHandler ;
277279 }
278280 interface ConnectionHandler {
279281 onReconnectStarted ( ) : void ;
@@ -322,13 +324,13 @@ declare namespace SendBird {
322324 }
323325
324326 interface GroupChannelTotalUnreadMessageCountParams {
325- new ( ) : GroupChannelTotalUnreadMessageCountParams ;
327+ new ( ) : GroupChannelTotalUnreadMessageCountParams ;
326328 channelCustomTypesFilter : Array < string > ;
327329 superChannelFilter : 'all' | 'super' | 'nonsuper' ;
328330 }
329331
330332 interface UserMessageParams {
331- new ( ) : UserMessageParams ;
333+ new ( ) : UserMessageParams ;
332334 message : string ;
333335 data : string ;
334336 customType : string ;
@@ -355,7 +357,7 @@ declare namespace SendBird {
355357 }
356358
357359 interface FileMessageParams {
358- new ( ) : FileMessageParams ;
360+ new ( ) : FileMessageParams ;
359361 file : File ;
360362 fileUrl : string ;
361363 fileName : string ;
@@ -1281,7 +1283,7 @@ declare namespace SendBird {
12811283 * GroupChannel
12821284 */
12831285 interface GroupChannelParams {
1284- new ( ) : GroupChannelParams ;
1286+ new ( ) : GroupChannelParams ;
12851287 isDistinct : boolean ;
12861288 isSuper : boolean ;
12871289 isPublic : boolean ;
@@ -1305,7 +1307,7 @@ declare namespace SendBird {
13051307 }
13061308
13071309 interface ScheduledUserMessageParams {
1308- new ( ) : ScheduledUserMessageParams ;
1310+ new ( ) : ScheduledUserMessageParams ;
13091311 message : string ;
13101312 data : string ;
13111313 customType : string ;
@@ -1331,18 +1333,18 @@ declare namespace SendBird {
13311333 }
13321334
13331335 interface MessageMetaArray {
1334- new ( key : string , value : Array < string > ) : MessageMetaArray ;
1336+ new ( key : string , value : Array < string > ) : MessageMetaArray ;
13351337 key : string ;
13361338 value : Array < string > ;
13371339 }
13381340 interface Reaction {
1339- new ( ) : Reaction ;
1341+ new ( ) : Reaction ;
13401342 key : string ;
13411343 userIds : Array < string > ;
13421344 updatedAt : number ;
13431345 }
13441346 interface ReactionEvent {
1345- new ( ) : ReactionEvent ;
1347+ new ( ) : ReactionEvent ;
13461348 messageId : string ;
13471349 userId : string ;
13481350 key : string ;
@@ -1428,6 +1430,9 @@ declare namespace SendBird {
14281430 getUnreadMembers ( message : UserMessage | FileMessage , includeAllMembers ?: boolean ) : Array < Member > ;
14291431 getReadMembers ( message : UserMessage | FileMessage , includeAllMembers ?: boolean ) : Array < Member > ;
14301432
1433+ markAsDelivered ( ) : void ;
1434+ getDeliveryReceipt ( message : UserMessage | FileMessage | AdminMessage ) : number ;
1435+
14311436 startTyping ( ) : void ;
14321437 endTyping ( ) : void ;
14331438 isTyping ( ) : boolean ;
0 commit comments