Class UserClient

Hierarchy

Constructors

  • Parameters

    • data: {
          botId: string;
          createdAt: string;
          createdBy: string;
          id: string;
          name: string;
      }
      • botId: string
      • createdAt: string
      • createdBy: string
      • id: string
      • name: string
    • client: Client

    Returns UserClient

Properties

_client: Client

Client.

_createdAt: number

Timestamp (unix epoch time) of the user's creation.

botID: string

Client User Bot ID

createdBy: string

ID of the bot's owner.

id: string | number

Item ID

type: string

User type (user, bot)

username: string

User's name

Accessors