Team
Team ⇐ Base
Represents a team object.
Kind: global class
Extends: Base
Properties
Name | Type | Description |
---|---|---|
icon | string | undefined | The icon of the team. |
id | string | undefined | The ID of the team. |
members | RaidenCol | A collection of team members. |
createdAt | Date | undefined | The creation date of the team. |
createdTimestamp | number | undefined | The timestamp of the team’s creation date. |
name | string | undefined | The name of the team. |
- Team ⇐
Base
- new Team([data], client)
- .iconURL(options) ⇒
string
|null
new Team([data], client)
Constructs a new instance of the class.
Param | Type | Description |
---|---|---|
[data] | Object | The data object containing the team information. |
client | Client | The 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.
Param | Type | Description |
---|---|---|
options | Object | Optional parameters for customizing the icon URL. |
[options.dynamic] | boolean | Whether to use a dynamic icon. |
[options.size] | number | The desired size of the icon. |
[options.format] | string | The desired format of the icon. |