Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Team

Hierarchy

  • Team

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Team(client: Client, data: APITeamData): Team

Properties

Readonly client

client: Client

Optional icon

icon: undefined | string

A hash of the image of the team's icon.

since

0.0.1

Readonly id

id: string

The unique id of the team.

since

0.0.1

members

members: Cache<string, TeamMember>

The members of the team.

since

0.0.1

ownerID

ownerID: string

The user id of the current team owner.

since

0.0.1

Accessors

owner

Methods

iconURL

  • iconURL(options?: ImageURLOptions): string | null
  • Returns the teams icon url if available.

    Parameters

    • Optional options: ImageURLOptions

      The image size, format, and other image url options.

    Returns string | null

Generated using TypeDoc