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.
5124
-
* @returns {Promise<MessageReaction[] | []>}
5105
+
* 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.
5106
+
* @returns {Promise<Reaction[] | []>}
5125
5107
*/
5126
-
fetchNext(): Promise<MessageReaction[]|[]>;
5108
+
fetchNext(): Promise<Reaction[]|[]>;
5127
5109
/**
5128
-
* 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.
5129
-
* @returns {Promise<MessageReaction[] | []>}
5110
+
* 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.
5111
+
* @returns {Promise<Reaction[] | []>}
5130
5112
*/
5131
-
fetchPrevious(): Promise<MessageReaction[]|[]>;
5113
+
fetchPrevious(): Promise<Reaction[]|[]>;
5132
5114
}
5133
-
exportclassReactionRequestBuilder{
5115
+
exportclassReactionsRequestBuilder{
5134
5116
/** @private */limit?: number;
5135
5117
/** @private */msgId: number;
5136
5118
/** @private */reaction?: string;
5137
5119
/**
5138
-
* 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.
5120
+
* 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.
5139
5121
* @param {number} limit
5140
5122
* @returns
5141
5123
*/
@@ -5147,15 +5129,15 @@ export class ReactionRequestBuilder {
5147
5129
*/
5148
5130
setMessageId(id?: number): this;
5149
5131
/**
5150
-
* A method to fetch list of MessageReaction for a specific reaction.
5132
+
* A method to fetch list of Reaction for a specific reaction.
5151
5133
* @returns
5152
5134
*/
5153
5135
setReaction(reaction: string): this;
5154
5136
/**
5155
-
* This method will return an object of the ReactionRequest class.
5156
-
* @returns {ReactionRequest}
5137
+
* This method will return an object of the ReactionsRequest class.
0 commit comments