getMatchHistoryById(...args)

Overview:

Get user's match history by match id

Usage:

const data = await client.match.getMatchHistoryById(matchId)

Requirement:

  • Game client is authenticated.

  • User is authenticated.

Parameters:

AttributeTypeDescribe

matchId

string

match id

Return:

  • Success:

AttributeTypeDescribe

id

string

playlog id

userId

string

user id

gameId

string

game id

type

string

type of playlog

isCompleted

boolean

status of playlog

startedAt

Date

date started playlog

completedAt

Date

date completed playlog

playResult

{ score: number }

playlog result

  • Failed:

null

Last updated