title: Edit Message category: Channel
editMessage
$client->channel->editMessage($parameters);
Edit a previously sent message. You can only edit messages that have been sent by the current user. Fires a Message Update Gateway event.
Name | Type | Required | Default |
---|---|---|---|
channel.id | snowflake | true | null |
message.id | snowflake | true | null |
content | string | false | null |
embed | object | false | null |
Returns a message object.
Can Return: