@cometchat/chat-sdk-javascript 4.0.6 → 4.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CometChat.d.ts +416 -0
- package/CometChat.js +1 -1
- package/package.json +1 -1
package/CometChat.d.ts
CHANGED
|
@@ -4671,6 +4671,38 @@ export class GroupsRequest {
|
|
|
4671
4671
|
* @returns {Promise<Group[] | []>}
|
|
4672
4672
|
*/
|
|
4673
4673
|
fetchNext(): Promise<Group[] | []>;
|
|
4674
|
+
/**
|
|
4675
|
+
* Gets the limit on the number of groups to be fetched in a single operation.
|
|
4676
|
+
*
|
|
4677
|
+
* @return {number}
|
|
4678
|
+
*/
|
|
4679
|
+
getLimit(): number;
|
|
4680
|
+
/**
|
|
4681
|
+
* Gets the search keyword used to filter the groups by their name or GUID.
|
|
4682
|
+
* Only groups whose names or GUIDs contain this keyword will be fetched.
|
|
4683
|
+
*
|
|
4684
|
+
* @return {string}
|
|
4685
|
+
*/
|
|
4686
|
+
getSearchKeyword(): string;
|
|
4687
|
+
/**
|
|
4688
|
+
* Gets the flag indicating whether only the groups the user has joined should be fetched.
|
|
4689
|
+
*
|
|
4690
|
+
* @return {boolean}
|
|
4691
|
+
*/
|
|
4692
|
+
isJoinedOnly(): any;
|
|
4693
|
+
/**
|
|
4694
|
+
* Gets the list of tags used to filter the groups.
|
|
4695
|
+
* Only groups associated with these tags will be fetched.
|
|
4696
|
+
*
|
|
4697
|
+
* @return {String[]}
|
|
4698
|
+
*/
|
|
4699
|
+
getTags(): String[];
|
|
4700
|
+
/**
|
|
4701
|
+
* Gets the flag indicating whether tags should be included with the groups data.
|
|
4702
|
+
*
|
|
4703
|
+
* @return {boolean}
|
|
4704
|
+
*/
|
|
4705
|
+
isWithTags(): boolean;
|
|
4674
4706
|
}
|
|
4675
4707
|
export class GroupsRequestBuilder {
|
|
4676
4708
|
/** @private */ limit: number;
|
|
@@ -4726,6 +4758,31 @@ export class GroupMembersRequest {
|
|
|
4726
4758
|
* @returns {Promise<GroupMember[] | []>}
|
|
4727
4759
|
*/
|
|
4728
4760
|
fetchNext(): Promise<GroupMember[] | []>;
|
|
4761
|
+
/**
|
|
4762
|
+
* Get the unique identifier of the group for which members are requested.
|
|
4763
|
+
*
|
|
4764
|
+
* @return {string}.
|
|
4765
|
+
*/
|
|
4766
|
+
getGuid(): string;
|
|
4767
|
+
/**
|
|
4768
|
+
* Get the maximum number of group members to fetch in a single operation.
|
|
4769
|
+
*
|
|
4770
|
+
* @return {number}
|
|
4771
|
+
*/
|
|
4772
|
+
getLimit(): number;
|
|
4773
|
+
/**
|
|
4774
|
+
* Gets the search keyword used to filter the group members by name or UID.
|
|
4775
|
+
*
|
|
4776
|
+
* @return {string}
|
|
4777
|
+
*/
|
|
4778
|
+
getSearchKeyword(): string;
|
|
4779
|
+
/**
|
|
4780
|
+
* Gets the list of scopes used to filter banned group members based on specific criteria.
|
|
4781
|
+
* The scopes define the categories or roles of the group members to be fetched.
|
|
4782
|
+
*
|
|
4783
|
+
* @return {String[]}
|
|
4784
|
+
*/
|
|
4785
|
+
getScopes(): String[];
|
|
4729
4786
|
/**
|
|
4730
4787
|
* @internal
|
|
4731
4788
|
*/
|
|
@@ -4737,6 +4794,13 @@ export class GroupMembersRequestBuilder {
|
|
|
4737
4794
|
/** @private */ guid: string;
|
|
4738
4795
|
/** @private */ scopes?: Array<String>;
|
|
4739
4796
|
constructor(guid: string);
|
|
4797
|
+
/**
|
|
4798
|
+
* Set the unique identifier of the group.
|
|
4799
|
+
*
|
|
4800
|
+
* @param guid The group ID to set.
|
|
4801
|
+
* @returns
|
|
4802
|
+
*/
|
|
4803
|
+
setGuid(guid: string): this;
|
|
4740
4804
|
/**
|
|
4741
4805
|
*
|
|
4742
4806
|
* @param {number} limit
|
|
@@ -4772,6 +4836,31 @@ export class BannedMembersRequest {
|
|
|
4772
4836
|
* @returns {Promise<GroupMember[] | []>}
|
|
4773
4837
|
*/
|
|
4774
4838
|
fetchNext(): Promise<GroupMember[] | []>;
|
|
4839
|
+
/**
|
|
4840
|
+
* Get the unique identifier of the group for which banned members are requested.
|
|
4841
|
+
*
|
|
4842
|
+
* @return {string}.
|
|
4843
|
+
*/
|
|
4844
|
+
getGuid(): string;
|
|
4845
|
+
/**
|
|
4846
|
+
* Get the maximum number of banned group members to fetch in a single operation.
|
|
4847
|
+
*
|
|
4848
|
+
* @return {number}
|
|
4849
|
+
*/
|
|
4850
|
+
getLimit(): number;
|
|
4851
|
+
/**
|
|
4852
|
+
* Get the search keyword used to filter banned group members.
|
|
4853
|
+
*
|
|
4854
|
+
* @return {string}
|
|
4855
|
+
*/
|
|
4856
|
+
getSearchKeyword(): string;
|
|
4857
|
+
/**
|
|
4858
|
+
* Gets the list of scopes used to filter banned group members based on specific criteria.
|
|
4859
|
+
* The scopes define the categories or roles of the group members to be fetched.
|
|
4860
|
+
*
|
|
4861
|
+
* @return {String[]}
|
|
4862
|
+
*/
|
|
4863
|
+
getScopes(): String[];
|
|
4775
4864
|
/**
|
|
4776
4865
|
* @internal
|
|
4777
4866
|
*/
|
|
@@ -4783,6 +4872,13 @@ export class BannedMembersRequestBuilder {
|
|
|
4783
4872
|
/** @private */ guid: string;
|
|
4784
4873
|
/** @private */ scopes?: Array<String>;
|
|
4785
4874
|
constructor(guid: string);
|
|
4875
|
+
/**
|
|
4876
|
+
* Set the unique identifier of the group.
|
|
4877
|
+
*
|
|
4878
|
+
* @param guid The group ID to set.
|
|
4879
|
+
* @returns
|
|
4880
|
+
*/
|
|
4881
|
+
setGuid(guid: string): this;
|
|
4786
4882
|
/**
|
|
4787
4883
|
*
|
|
4788
4884
|
* @param {number} limit
|
|
@@ -4817,6 +4913,90 @@ export class UsersRequest {
|
|
|
4817
4913
|
OFFLINE: string;
|
|
4818
4914
|
};
|
|
4819
4915
|
constructor(builder?: UsersRequestBuilder);
|
|
4916
|
+
/**
|
|
4917
|
+
* Gets the limit on the number of users to be fetched.
|
|
4918
|
+
*
|
|
4919
|
+
* @return {number}
|
|
4920
|
+
*/
|
|
4921
|
+
getLimit(): number;
|
|
4922
|
+
/**
|
|
4923
|
+
* Gets the search keyword used to filter the users list.
|
|
4924
|
+
* This keyword is used to search for users based on their name or UID.
|
|
4925
|
+
*
|
|
4926
|
+
* @return {string}
|
|
4927
|
+
*/
|
|
4928
|
+
getSearchKeyword(): string;
|
|
4929
|
+
/**
|
|
4930
|
+
* Determines whether blocked users are excluded from the users list.
|
|
4931
|
+
*
|
|
4932
|
+
* @return {boolean}
|
|
4933
|
+
*/
|
|
4934
|
+
isHideBlockedUsers(): boolean;
|
|
4935
|
+
/**
|
|
4936
|
+
* Gets the status filter used to fetch users based on their online or offline status.
|
|
4937
|
+
*
|
|
4938
|
+
* @return {string}
|
|
4939
|
+
*/
|
|
4940
|
+
getStatus(): string;
|
|
4941
|
+
/**
|
|
4942
|
+
* Gets the user role filter used to fetch users based on their role.
|
|
4943
|
+
*
|
|
4944
|
+
* @return {string}
|
|
4945
|
+
*/
|
|
4946
|
+
getRole(): string;
|
|
4947
|
+
/**
|
|
4948
|
+
* Determines whether only friends are included in the users list.
|
|
4949
|
+
*
|
|
4950
|
+
* @return {boolean}
|
|
4951
|
+
*/
|
|
4952
|
+
isFriendsOnly(): boolean;
|
|
4953
|
+
/**
|
|
4954
|
+
* Gets the list of roles used to filter users.
|
|
4955
|
+
* Users will be fetched based on the specified roles.
|
|
4956
|
+
*
|
|
4957
|
+
* @return {String[]}
|
|
4958
|
+
*/
|
|
4959
|
+
getRoles(): String[];
|
|
4960
|
+
/**
|
|
4961
|
+
* Gets the list of tags used to filter users.
|
|
4962
|
+
* Users will be fetched based on the specified tags.
|
|
4963
|
+
*
|
|
4964
|
+
* @return {String[]}
|
|
4965
|
+
*/
|
|
4966
|
+
getTags(): String[];
|
|
4967
|
+
/**
|
|
4968
|
+
* Determines whether the tags are included in the users data when fetched.
|
|
4969
|
+
*
|
|
4970
|
+
* @return {boolean}
|
|
4971
|
+
*/
|
|
4972
|
+
isWithTags(): boolean;
|
|
4973
|
+
/**
|
|
4974
|
+
* Gets the list of UIDs used to fetch specific users.
|
|
4975
|
+
*
|
|
4976
|
+
* @return {}
|
|
4977
|
+
*/
|
|
4978
|
+
getUIDs(): String[];
|
|
4979
|
+
/**
|
|
4980
|
+
* Gets the fields specified to search for the search keyword in the user data.
|
|
4981
|
+
* Possible fields are "name" and "uid".
|
|
4982
|
+
*
|
|
4983
|
+
* @return {String[]}
|
|
4984
|
+
*/
|
|
4985
|
+
getSearchIn(): String[];
|
|
4986
|
+
/**
|
|
4987
|
+
* Gets the field by which the user list is sorted.
|
|
4988
|
+
* Possible values are "status" or "name".
|
|
4989
|
+
*
|
|
4990
|
+
* @return {string}
|
|
4991
|
+
*/
|
|
4992
|
+
getSortBy(): string;
|
|
4993
|
+
/**
|
|
4994
|
+
* Gets the order in which the user list is sorted.
|
|
4995
|
+
* Possible values are "asc" for ascending order and "desc" for descending order.
|
|
4996
|
+
*
|
|
4997
|
+
* @return {string}
|
|
4998
|
+
*/
|
|
4999
|
+
getSortOrder(): string;
|
|
4820
5000
|
/**
|
|
4821
5001
|
* Get list of next set of users based on the parameters specified in UsersRequestBuilder class The Developer need to call this method repeatedly using the same object of UsersRequestBuilder class to get paginated list of users.
|
|
4822
5002
|
* @returns {Promise<User[] | []>}
|
|
@@ -4948,6 +5128,57 @@ export class ConversationsRequest {
|
|
|
4948
5128
|
* @internal
|
|
4949
5129
|
*/
|
|
4950
5130
|
getNextData(): any;
|
|
5131
|
+
/**
|
|
5132
|
+
* Checks if blocked users are to be included in the list of conversations.
|
|
5133
|
+
* @returns {boolean}
|
|
5134
|
+
*/
|
|
5135
|
+
isIncludeBlockedUsers(): boolean;
|
|
5136
|
+
/**
|
|
5137
|
+
* Checks if blocked information should be included in the list of conversations.
|
|
5138
|
+
* @returns {boolean}
|
|
5139
|
+
*/
|
|
5140
|
+
isWithBlockedInfo(): boolean;
|
|
5141
|
+
/**
|
|
5142
|
+
* Gets the limit for the number of items to be fetched or processed.
|
|
5143
|
+
* @returns {number}
|
|
5144
|
+
*/
|
|
5145
|
+
getLimit(): number;
|
|
5146
|
+
/**
|
|
5147
|
+
* Retrieves the type of the conversation.
|
|
5148
|
+
* This can be used to differentiate between different types of conversations, such as user and group.
|
|
5149
|
+
* @returns {string}
|
|
5150
|
+
*/
|
|
5151
|
+
getConversationType(): string;
|
|
5152
|
+
/**
|
|
5153
|
+
* Checks if the filtering should include both user and group tags.
|
|
5154
|
+
* @return true if both user and group tags are included. false otherwise.
|
|
5155
|
+
* @returns {boolean}
|
|
5156
|
+
*/
|
|
5157
|
+
isWithUserAndGroupTags(): boolean;
|
|
5158
|
+
/**
|
|
5159
|
+
* Gets the list of tags associated with the conversation item.
|
|
5160
|
+
* These tags can be used for categorization or filtering.
|
|
5161
|
+
* @returns {String[]}
|
|
5162
|
+
*/
|
|
5163
|
+
getTags(): String[];
|
|
5164
|
+
/**
|
|
5165
|
+
* Determines whether the filtering or selection process should consider tags.
|
|
5166
|
+
*
|
|
5167
|
+
* @returns {boolean}
|
|
5168
|
+
*/
|
|
5169
|
+
isWithTags(): boolean;
|
|
5170
|
+
/**
|
|
5171
|
+
* Retrieves the list of group-specific tags.
|
|
5172
|
+
* These tags are used to filter and fetch conversations that are associated with groups tagged with these specified tags.
|
|
5173
|
+
* @returns {String[]}
|
|
5174
|
+
*/
|
|
5175
|
+
getGroupTags(): String[];
|
|
5176
|
+
/**
|
|
5177
|
+
* Retrieves the list of user-specific tags.
|
|
5178
|
+
* These tags are used to filter and fetch conversations that are associated with users tagged with these specified tags.
|
|
5179
|
+
* @returns {String[]}
|
|
5180
|
+
*/
|
|
5181
|
+
getUserTags(): String[];
|
|
4951
5182
|
}
|
|
4952
5183
|
export class ConversationsRequestBuilder {
|
|
4953
5184
|
/** @private */ conversationType: string;
|
|
@@ -4957,6 +5188,8 @@ export class ConversationsRequestBuilder {
|
|
|
4957
5188
|
/** @private */ WithTags: boolean;
|
|
4958
5189
|
/** @private */ groupTags: Array<String>;
|
|
4959
5190
|
/** @private */ userTags: Array<String>;
|
|
5191
|
+
/** @private */ includeBlockedUsers: boolean;
|
|
5192
|
+
/** @private */ withBlockedInfo: boolean;
|
|
4960
5193
|
/**
|
|
4961
5194
|
*
|
|
4962
5195
|
* @param {number} limit
|
|
@@ -5002,6 +5235,18 @@ export class ConversationsRequestBuilder {
|
|
|
5002
5235
|
* @returns
|
|
5003
5236
|
*/
|
|
5004
5237
|
setUserTags(userTags: Array<String>): this;
|
|
5238
|
+
/**
|
|
5239
|
+
* A method to include blocked users in the list of conversations.
|
|
5240
|
+
* @param {boolean} userTags
|
|
5241
|
+
* @returns
|
|
5242
|
+
*/
|
|
5243
|
+
setIncludeBlockedUsers(_includeBlockedUsers: any): this;
|
|
5244
|
+
/**
|
|
5245
|
+
* A method to include blocked users information in the list of conversations.
|
|
5246
|
+
* @param {boolean} userTags
|
|
5247
|
+
* @returns
|
|
5248
|
+
*/
|
|
5249
|
+
setWithBlockedInfo(_withBlockedInfo: any): this;
|
|
5005
5250
|
/**
|
|
5006
5251
|
* This method will return an object of the ConversationsRequest class.
|
|
5007
5252
|
* @returns {ConversationsRequest}
|
|
@@ -5011,6 +5256,140 @@ export class ConversationsRequestBuilder {
|
|
|
5011
5256
|
|
|
5012
5257
|
export class MessagesRequest {
|
|
5013
5258
|
constructor(builder?: MessagesRequestBuilder);
|
|
5259
|
+
/**
|
|
5260
|
+
* Gets the limit on the number of messages to be fetched in a single operation.
|
|
5261
|
+
*
|
|
5262
|
+
* @return {number}
|
|
5263
|
+
*/
|
|
5264
|
+
getLimit(): number;
|
|
5265
|
+
/**
|
|
5266
|
+
* Gets the UID of the user for which the messages are being fetched.
|
|
5267
|
+
*
|
|
5268
|
+
* @return {string}.
|
|
5269
|
+
*/
|
|
5270
|
+
getUID(): string;
|
|
5271
|
+
/**
|
|
5272
|
+
* Gets the GUID of the group for which the messages are being fetched.
|
|
5273
|
+
*
|
|
5274
|
+
* @return {guid}
|
|
5275
|
+
*/
|
|
5276
|
+
getGUID(): string;
|
|
5277
|
+
/**
|
|
5278
|
+
* Gets the message ID from which subsequent or previous messages are to be fetched.
|
|
5279
|
+
*
|
|
5280
|
+
* @return {number}
|
|
5281
|
+
*/
|
|
5282
|
+
getMessageId(): number;
|
|
5283
|
+
/**
|
|
5284
|
+
* Gets the flag indicating whether to fetch only unread messages.
|
|
5285
|
+
*
|
|
5286
|
+
* @return {boolean}
|
|
5287
|
+
*/
|
|
5288
|
+
isUnread(): boolean;
|
|
5289
|
+
/**
|
|
5290
|
+
* Gets the flag indicating whether to hide messages from blocked users.
|
|
5291
|
+
*
|
|
5292
|
+
* @return {boolean}
|
|
5293
|
+
*/
|
|
5294
|
+
isHideMessagesFromBlockedUsers(): boolean;
|
|
5295
|
+
/**
|
|
5296
|
+
* Gets the timestamp from which messages are to be fetched.
|
|
5297
|
+
* Used to fetch messages around a specific time point.
|
|
5298
|
+
*
|
|
5299
|
+
* @return {number}
|
|
5300
|
+
*/
|
|
5301
|
+
getTimestamp(): number;
|
|
5302
|
+
/**
|
|
5303
|
+
* Gets the search keyword used to filter messages.
|
|
5304
|
+
* Only messages containing this keyword will be fetched.
|
|
5305
|
+
*
|
|
5306
|
+
* @return {string}
|
|
5307
|
+
*/
|
|
5308
|
+
getSearchKeyword(): string;
|
|
5309
|
+
/**
|
|
5310
|
+
* Gets the timestamp after which updated or edited messages are to be fetched.
|
|
5311
|
+
*
|
|
5312
|
+
* @return {string}
|
|
5313
|
+
*/
|
|
5314
|
+
getUpdatedAfter(): string;
|
|
5315
|
+
/**
|
|
5316
|
+
* Gets the flag indicating whether to fetch only updated or edited messages.
|
|
5317
|
+
*
|
|
5318
|
+
* @return {boolean}
|
|
5319
|
+
*/
|
|
5320
|
+
isUpdatesOnly(): any;
|
|
5321
|
+
/**
|
|
5322
|
+
* Gets the list of categories for which the messages are to be fetched.
|
|
5323
|
+
*
|
|
5324
|
+
* @return {String[]}
|
|
5325
|
+
*/
|
|
5326
|
+
getCategories(): String[];
|
|
5327
|
+
/**
|
|
5328
|
+
* Gets the category for which the messages are to be fetched.
|
|
5329
|
+
*
|
|
5330
|
+
* @return {string}
|
|
5331
|
+
*/
|
|
5332
|
+
getCategory(): string;
|
|
5333
|
+
/**
|
|
5334
|
+
* Gets the list of types for which the messages are to be fetched.
|
|
5335
|
+
*
|
|
5336
|
+
* @return {String[]}
|
|
5337
|
+
*/
|
|
5338
|
+
getTypes(): String[];
|
|
5339
|
+
/**
|
|
5340
|
+
* Gets the type for which the messages are to be fetched.
|
|
5341
|
+
*
|
|
5342
|
+
* @return {string}
|
|
5343
|
+
*/
|
|
5344
|
+
getType(): string;
|
|
5345
|
+
/**
|
|
5346
|
+
* Gets the parent message ID to fetch messages belonging to a specific thread.
|
|
5347
|
+
*
|
|
5348
|
+
* @return {number}
|
|
5349
|
+
*/
|
|
5350
|
+
getParentMessageId(): number;
|
|
5351
|
+
/**
|
|
5352
|
+
* Gets the flag indicating whether to exclude replies (threaded messages) when fetching messages.
|
|
5353
|
+
*
|
|
5354
|
+
* @return {boolean}
|
|
5355
|
+
*/
|
|
5356
|
+
isHideReplies(): boolean;
|
|
5357
|
+
/**
|
|
5358
|
+
* Gets the flag indicating whether to hide deleted messages when fetching messages.
|
|
5359
|
+
*
|
|
5360
|
+
* @return {boolean}
|
|
5361
|
+
*/
|
|
5362
|
+
isHideDeletedMessages(): boolean;
|
|
5363
|
+
/**
|
|
5364
|
+
* Gets the list of tags for which the messages are to be fetched.
|
|
5365
|
+
*
|
|
5366
|
+
* @return {String[]}
|
|
5367
|
+
*/
|
|
5368
|
+
getTags(): String[];
|
|
5369
|
+
/**
|
|
5370
|
+
* Gets the flag indicating whether messages should be fetched with their tags.
|
|
5371
|
+
*
|
|
5372
|
+
* @return {boolean}
|
|
5373
|
+
*/
|
|
5374
|
+
isWithTags(): boolean;
|
|
5375
|
+
/**
|
|
5376
|
+
* Gets the flag indicating whether to fetch mentioned messages with user tag information.
|
|
5377
|
+
*
|
|
5378
|
+
* @return {boolean}
|
|
5379
|
+
*/
|
|
5380
|
+
isMentionsWithTagInfo(): boolean;
|
|
5381
|
+
/**
|
|
5382
|
+
* Gets the flag indicating whether to fetch mentioned messages with blocked relation information.
|
|
5383
|
+
*
|
|
5384
|
+
* @return {boolean}
|
|
5385
|
+
*/
|
|
5386
|
+
isMentionsWithBlockedInfo(): boolean;
|
|
5387
|
+
/**
|
|
5388
|
+
* Gets the flag indicating whether to fetch only messages with completed interaction goals.
|
|
5389
|
+
*
|
|
5390
|
+
* @return {boolean}
|
|
5391
|
+
*/
|
|
5392
|
+
isInteractionGoalCompletedOnly(): boolean;
|
|
5014
5393
|
/**
|
|
5015
5394
|
* Get list of next messages based on the parameters specified in MessagesRequestBuilder class. The Developer need to call this method repeatedly using the same object of MessagesRequest class to get paginated list of message.
|
|
5016
5395
|
* @returns {Promise<BaseMessage[] | []>}
|
|
@@ -5392,6 +5771,25 @@ export class BlockedUsersRequest {
|
|
|
5392
5771
|
* @returns {Promise<User[] | []>}
|
|
5393
5772
|
*/
|
|
5394
5773
|
fetchNext(): Promise<User[] | []>;
|
|
5774
|
+
/**
|
|
5775
|
+
* Gets the direction type to determine the nature of the blocked users to be fetched.
|
|
5776
|
+
* The direction specifies whether to fetch users who are blocked by the logged-in user,
|
|
5777
|
+
* users who have blocked the logged-in user, or both.
|
|
5778
|
+
*
|
|
5779
|
+
* @return {string}. It can be one of "blocked_by_me", "blocked_me", or "both".
|
|
5780
|
+
*/
|
|
5781
|
+
getDirection(): string;
|
|
5782
|
+
/**
|
|
5783
|
+
* Get the maximum number of blocked users to be fetched in a single operation.
|
|
5784
|
+
* @return {number}
|
|
5785
|
+
*/
|
|
5786
|
+
getLimit(): number;
|
|
5787
|
+
/**
|
|
5788
|
+
* Get the search keyword used to filter blocked users by name or UID.
|
|
5789
|
+
*
|
|
5790
|
+
* @return {string}
|
|
5791
|
+
*/
|
|
5792
|
+
getSearchKeyword(): string;
|
|
5395
5793
|
/** @internal */
|
|
5396
5794
|
getNextData(): any;
|
|
5397
5795
|
}
|
|
@@ -6459,6 +6857,24 @@ export class InteractionReceipt {
|
|
|
6459
6857
|
|
|
6460
6858
|
export class ReactionsRequest {
|
|
6461
6859
|
constructor(builder?: ReactionsRequestBuilder);
|
|
6860
|
+
/**
|
|
6861
|
+
* Gets the limit on the number of reactions to be fetched in a single operation.
|
|
6862
|
+
*
|
|
6863
|
+
* @return {number}.
|
|
6864
|
+
*/
|
|
6865
|
+
getLimit(): number;
|
|
6866
|
+
/**
|
|
6867
|
+
* Gets the message ID for which reactions are to be fetched.
|
|
6868
|
+
*
|
|
6869
|
+
* @return {number}
|
|
6870
|
+
*/
|
|
6871
|
+
getMessageId(): number;
|
|
6872
|
+
/**
|
|
6873
|
+
* Gets the specific reaction type by which reactions are to be fetched.
|
|
6874
|
+
*
|
|
6875
|
+
* @return {string}
|
|
6876
|
+
*/
|
|
6877
|
+
getReaction(): string;
|
|
6462
6878
|
/**
|
|
6463
6879
|
* Get list of next reactions list based on the parameters specified in ReactionsRequestBuilder class. The Developer need to call this method repeatedly using the same object of ReactionsRequest class to get paginated list of reactions.
|
|
6464
6880
|
* @returns {Promise<Reaction[] | []>}
|