joinLotteryEntry

fun joinLotteryEntry(lotteryId: String, entrantId: String, numberOfGuests: Int, onResult: (Boolean, String) -> Unit)

Submits a user's entry to a campsite lottery.

Parameters

lotteryId

The ID of the lottery to join.

entrantId

The ID of the participating user.

numberOfGuests

The number of guests in the entry.

onResult

Callback returning the success status and a message.