isPinned

inline fun Message.isPinned(now: () -> Long = { System.currentTimeMillis() }): Boolean

Return

If the message is a valid pinned message.

Parameters

now

A function that provides the current time in milliseconds.