unPinMessage


General

unPinMessage unpins a message from the channel by their IDs.


Usage

Client:unPinMessage(<string> channeld, <string> messageId)
Returns: <Message> Message


Limitations

See discordMessage PATCH.


Example

local unpinner = Client:unPinMessage("569166849099694093", "569438635338891274")
wait(2)
print(unpinner.pinned)

Back to top