invite

open fun invite(@NonNull numbers: Array<String>, @NonNull message: String, @NonNull callback: InviteCallback): Handle

Invite people to use the same app.

The phone numbers will be passed to server and marked as invited by current user. The response callback will receive the numbers with information with success/failure state. Invite may fail if the number has already been invited by someone else. The app can then offer to send invitation SMS or email to successfully invited users.

Return

Handle for the invitation.

Parameters

numbers

Array of numbers to invite.

message

Message sent in the invitation.

callback

Callback called with the invitation result.