# subscribeToPresences

fun subscribeToPresences(contacts: List<Contact>, onCompletion: (Either<List<Presence>, SippoResourceError>) -> Unit)

Subscribes to the presence of each contact included in contacts.

#### Parameters

contacts

Contact list to subscribe to.

onCompletion

Callback that will be invoked when the request is completed. It will receive the presence list in case of success or a SippoResourceError otherwise.