Preparing search index...
The search index is not available
Documentation - v0.19.5
Documentation
@mtcute/bun
methods
getUser
Function getUser
getUser
(
client
:
ITelegramClient
,
userId
:
InputPeerLike
)
:
Promise
<
User
>
Get basic information about a user.
Parameters
client
:
ITelegramClient
userId
:
InputPeerLike
ID of the user or their username or invite link
Returns
Promise
<
User
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation - v0.19.5
Loading...
Get basic information about a user.