Data iterable.
Optional
options: ICachedOptions<User>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: Omit<IFetchOptions, "fullInfo"> & { Options for fetching.
The fetched User instance.
Fetches a user by ID, optionally caching the result.
The ChatMember, Message, or user ID to fetch.
Optional
options: Omit<IFetchOptions, "fullInfo"> & { Options for fetching.
The fetched ChatFullInfo instance.
Fetches a user by ID, optionally caching the result.
The ChatMember, Message, or user ID to fetch.
Optional
options: IFetchOptionsOptions for fetching.
The fetched User or ChatFullInfo 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.