Skip to main content
Version: 5.11.4

DeclineInvitation

public void DeclineInvitation(SessionId roomId, string roomToken);

Parameters

ValueTypeDescription
roomIdSessionIdRoomID returned from OnMatchMakingRoomSomeoneInvited
roomTokenstringRoomToken returned from OnMatchMakingRoomSomeoneInvited

Description

Declines an invitation sent by another user.

Example

Backend.Match.DeclineInvitation(roomId, roomToken));