You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Get list of next reactions list based on the parameters specified in ReactionRequestBuilder class. The Developer need to call this method repeatedly using the same object of ReactionRequest class to get paginated list of reactions.
6333
-
* @returns {Promise<MessageReaction[] | []>}
6328
+
* 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.
6329
+
* @returns {Promise<Reaction[] | []>}
6334
6330
*/
6335
-
fetchNext(): Promise<MessageReaction[]|[]>;
6331
+
fetchNext(): Promise<Reaction[]|[]>;
6336
6332
/**
6337
-
* Get list of previous reactions list based on the parameters specified in ReactionRequestBuilder class. The Developer need to call this method repeatedly using the same object of ReactionRequest class to get paginated list of reactions.
6338
-
* @returns {Promise<MessageReaction[] | []>}
6333
+
* Get list of previous 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.
6334
+
* @returns {Promise<Reaction[] | []>}
6339
6335
*/
6340
-
fetchPrevious(): Promise<MessageReaction[]|[]>;
6336
+
fetchPrevious(): Promise<Reaction[]|[]>;
6341
6337
}
6342
-
exportclassReactionRequestBuilder{
6338
+
exportclassReactionsRequestBuilder{
6343
6339
/** @private */limit?: number;
6344
6340
/** @private */msgId: number;
6345
6341
/** @private */reaction?: string;
6346
6342
/**
6347
-
* A method to set limit for the number of entries returned in a single iteration. A maximum of 100 entries can fetched in a single iteration.
6343
+
* A method to set limit for the number of entries returned in a single iteration. A maximum of 20 entries can fetched in a single iteration.
6348
6344
* @param {number} limit
6349
6345
* @returns
6350
6346
*/
@@ -6356,15 +6352,76 @@ export class ReactionRequestBuilder {
6356
6352
*/
6357
6353
setMessageId(id?: number): this;
6358
6354
/**
6359
-
* A method to fetch list of MessageReaction for a specific reaction.
6355
+
* A method to fetch list of Reaction for a specific reaction.
6360
6356
* @returns
6361
6357
*/
6362
6358
setReaction(reaction: string): this;
6363
6359
/**
6364
-
* This method will return an object of the ReactionRequest class.
6365
-
* @returns {ReactionRequest}
6360
+
* This method will return an object of the ReactionsRequest class.
0 commit comments