ChallengePreferences class


A representation of a summoner's challenge preferences data.

Signature:

export declare class ChallengePreferences 

Constructor

new ChallengePreferences (client: Client, data: ChallengePreferencesData)

Constructs a new instance of the ChallengePreferences class.

Parameters:

ParameterTypeDescription
clientClient
dataChallengePreferencesData

Properties

bannerAccent

The banner accent of this summoner.

Type: String


crestBorder

Type of the border the summoner has currently selected.

Type: 'level' | 'ranked'


displayedChallengeIds

The IDs of the challenges this summoner has put on display.

Type: Number


prestigeCrestBorderLevel

The level at which summoner unlocked currently equipped level border.

Type: Number


title

The title of this summoner.

Type: String


Methods

.fetchDisplayedChallenges ()

The challenges that this summoner has put on display.

Signature:

fetchDisplayedChallenges(): Promise<Challenge[]>;

Return type: Promise < Challenge >