decodeLeavesAs

inline fun <T> PresenceAction.decodeLeavesAs(ignoreOtherTypes: Boolean = true): List<T>(source)

Decodes all PresenceAction.leaves values as T

Parameters

ignoreOtherTypes

Whether to ignore presences which cannot be decoded as T such as your own presence