Skip to content

Team

Team ⇐ Base

Represents a team object.

Kind: global class
Extends: Base
Properties

NameTypeDescription
iconstring | undefinedThe icon of the team.
idstring | undefinedThe ID of the team.
membersRaidenColA collection of team members.
createdAtDate | undefinedThe creation date of the team.
createdTimestampnumber | undefinedThe timestamp of the team’s creation date.
namestring | undefinedThe name of the team.

new Team([data], client)

Constructs a new instance of the class.

ParamTypeDescription
[data]ObjectThe data object containing the team information.
clientClientThe client object.

team.iconURL(options) ⇒ string | null

Returns the URL of the icon for this team.

Kind: instance method of Team
Returns: string | null - The URL of the team’s icon, or null if no icon is available.

ParamTypeDescription
optionsObjectOptional parameters for customizing the icon URL.
[options.dynamic]booleanWhether to use a dynamic icon.
[options.size]numberThe desired size of the icon.
[options.format]stringThe desired format of the icon.