diff options
Diffstat (limited to 'src/model/channel/channel_id.rs')
| -rw-r--r-- | src/model/channel/channel_id.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/model/channel/channel_id.rs b/src/model/channel/channel_id.rs index b360bd1..121399a 100644 --- a/src/model/channel/channel_id.rs +++ b/src/model/channel/channel_id.rs @@ -382,6 +382,12 @@ impl ChannelId { /// [`ModelError::MessageTooLong`] will be returned, containing the number /// of unicode code points over the limit. /// + /// Returns an + /// [`HttpError::InvalidRequest(PayloadTooLarge)`][`HttpError::InvalidRequest`] + /// if the file is too large to send. + /// + /// + /// [`HttpError::InvalidRequest`]: ../http/enum.HttpError.html#variant.InvalidRequest /// [`ModelError::MessageTooLong`]: enum.ModelError.html#variant.MessageTooLong /// [`CreateMessage::content`]: ../builder/struct.CreateMessage.html#method.content /// [`GuildChannel`]: struct.GuildChannel.html |