pinMessage


General

pinMessage pins a message to the channel by its ID.


Usage

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


Limitations

See discordMessage PATCH.


Example

local pinner = Client:pinMessage("569166849099694093", "569409759179177994")

print(pinner.content)

Back to top