Methods

getInputUser

Get a user’s inputUser. Useful when calling API functions directly.

Parameters

id: ID

The identifier of the user.

Result

Api.inputUserSelf | Api.inputUser | Api.inputUserFromMessage

Syntax

await client.getInputUser(id);