getTicket

abstract suspend fun getTicket(ticketId: String): Messages.Ticket?(source)

Retrieves an existing Ticket with a specific identifier within Open Match and returns it. If no Ticket exists with this ID, null is returned instead. The Ticket is always queried in its currently valid state from Open Match, and therefore it may contain changes not made by this client.

Return

The existing Ticket with the queried identifier or null, if no such Ticket exists.

Parameters

ticketId

The identifier of the Ticket to be queried from Open Match.

See also