decodeJoinsAs

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

Decodes all PresenceAction.joins values as T

Parameters

ignoreOtherTypes

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