mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-09-28 21:29:25 +00:00
API: update docs
This commit is contained in:
parent
795a69ca7d
commit
e362b10084
|
@ -153,6 +153,7 @@ type EditMessageData struct {
|
||||||
Content option.NullableString `json:"content,omitempty"`
|
Content option.NullableString `json:"content,omitempty"`
|
||||||
// Embed contains embedded rich content.
|
// Embed contains embedded rich content.
|
||||||
Embed *discord.Embed `json:"embed,omitempty"`
|
Embed *discord.Embed `json:"embed,omitempty"`
|
||||||
|
// AllowedMentions are the allowed mentions for a message.
|
||||||
AllowedMentions *AllowedMentions `json:"allowed_mentions,omitempty"`
|
AllowedMentions *AllowedMentions `json:"allowed_mentions,omitempty"`
|
||||||
// Flags edits the flags of a message (only SUPPRESS_EMBEDS can currently
|
// Flags edits the flags of a message (only SUPPRESS_EMBEDS can currently
|
||||||
// be set/unset)
|
// be set/unset)
|
||||||
|
@ -161,7 +162,7 @@ type EditMessageData struct {
|
||||||
Flags *discord.MessageFlags `json:"flags,omitempty"`
|
Flags *discord.MessageFlags `json:"flags,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// EditMessage edits a previously sent message. For more documentation, erfer to
|
// EditMessage edits a previously sent message. For more documentation, refer to
|
||||||
// EditMessageComplex.
|
// EditMessageComplex.
|
||||||
func (c *Client) EditMessage(
|
func (c *Client) EditMessage(
|
||||||
channelID, messageID discord.Snowflake, content string,
|
channelID, messageID discord.Snowflake, content string,
|
||||||
|
|
Loading…
Reference in a new issue