Optional
iterable: User[]Data iterable.
Optional
cacheSize: numberThe maximum size of the cache. Default is unlimited.
The client that instantiated this
Adds or updates an entry in the cache.
The data to be added or updated in the cache.
Optional
cache: booleanOptional
__namedParameters: { Optional
extras?: unknown[]Optional
id?: stringThe cached or newly created entry.
Fetches a user by ID, optionally caching the result.
The ChatMember, Message, or user ID to fetch.
Optional
options: { Options for fetching.
Optional
cache?: booleanOptional
force?: booleanThe fetched User instance.
Resolves a user from a ChatMember, Message, or user ID.
The ChatMember, Message, or user ID to resolve.
The resolved User instance or null if not found.
Resolves the user ID from a ChatMember, Message, or user ID.
The ChatMember, Message, or user ID to resolve.
The resolved user ID or null if not found.
The client instance.