pinMessage

fun pinMessage(message: Message, expiresAt: Date? = null)

Pins the message from the current channel.

Parameters

message

The message to pin.