get Presences
fun getPresences(withoutAvatar: Boolean, onCompletion: (Either<List<Presence>, SippoResourceError>) -> Unit)
Fetches all the presences to which the current user is subscribed.
Parameters
without Avatar
True if you want to recover the presences without the avatar and false otherwise.
on Completion
Callback that will be invoked when the request is completed. It will receive the presence list in case of success or a SippoResourceError otherwise.