ReactionUserManager

export class ReactionUserManager extends CachedManager<Snowflake, User, UserResolvable>
export class ReactionUserManager extends CachedManager<Snowflake, User, UserResolvable>
Manages API methods for users who reacted to a reaction and stores their cache.
Readonly
cache:Collection<Key, Holds>
The cache of items for this manager.
Inherited from DataManager
Readonly
client:Client
The client that instantiated this Manager
Inherited from BaseManager
Readonly
holds:Constructable<Holds>
The data structure belonging to this manager.
Inherited from DataManager
The reaction that this manager belongs to
fetch(options?):Promise<Collection<Snowflake, User>>
Fetches all the users that gave this reaction. Resolves with a collection of users, mapped by their ids.
NameTypeOptionalDescription
optionsFetchReactionUsersOptionsYesOptions for fetching the users
remove(user?):Promise<MessageReaction>
Removes a user from this reaction.
NameTypeOptionalDescription
userUserResolvableYesThe user to remove the reaction of
resolve(idOrInstance):Holds
Resolves a data entry to a data Object.
Returns
An instance from this Manager
NameTypeOptionalDescription
idOrInstanceHoldsNoThe id or instance of something in this Manager
resolveId(idOrInstance):Key
Resolves a data entry to an instance id.
Returns
NameTypeOptionalDescription
idOrInstanceKey | HoldsNoThe id or instance of something in this Manager
valueOf():Collection<Key, Holds>