Class UserClient

UserClient represents the logged bot's user.

Hierarchy

  • Base<string>
    • UserClient

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

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

      raw data.

      • botId: string
      • createdAt: string
      • createdBy: string
      • id: string
      • name: string
    • client: Client

      client.

    Returns UserClient

Properties

botID: string

Client User Bot ID

client: Client

Bot's client.

createdAt: Date

When the bot client was created.

id: string

Item ID

ownerID: string

ID of the bot's owner.

type: string

User type (user, bot)

username: string

User's name

Accessors

Methods