👾UserClient
It is the 'user' of the logged bot, it has every information about the connected bot.
Last updated
It is the 'user' of the logged bot, it has every information about the connected bot.
Last updated
_client
Client
id
Bot user id
String
botID
Bot ID
String
type
Type of user, bot
or user
String
username
User's username
String
_createdAt
Timestamp of the user's creation.
Number
createdAt
string representation of the _createdAt timestamp.
Date
createdBy
ID of the bot's owner.
String
bot
Boolean that shows if the user is a bot or not.
Boolean
rawData
raw data received from ws and converted to JSON
Object
true
client
Client
true
Do not use this constructor unless you know what you're doing. This constructor is used to return you rawdata into component.