diff options
| author | Illia <[email protected]> | 2017-01-14 20:58:34 +0300 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2017-01-14 10:12:01 -0800 |
| commit | 0a2f5ab525022fbf0055649f2262573fb07cf18c (patch) | |
| tree | 4f650c52c9e6100cfebd48b21de7eb83e9b15628 /src/model | |
| parent | Convert Colour to be a tuple struct (diff) | |
| download | serenity-0a2f5ab525022fbf0055649f2262573fb07cf18c.tar.xz serenity-0a2f5ab525022fbf0055649f2262573fb07cf18c.zip | |
Clarify that messages can't be older than 2 weeks.
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/channel.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/model/channel.rs b/src/model/channel.rs index 0c1013c..b441e1f 100644 --- a/src/model/channel.rs +++ b/src/model/channel.rs @@ -353,6 +353,8 @@ impl Group { /// /// **Note**: Only 2 to 100 messages may be deleted in a single request. /// + /// **Note**: Messages that are older than 2 weeks can't be deleted using this method. + /// /// # Errors /// /// Returns a @@ -884,9 +886,11 @@ impl PrivateChannel { /// Deletes the given message Ids from the private channel. /// - /// **Note**: You can only delete your own messages. + /// **Note** This method is only available to bot users and they can't + /// delete their recipient's messages. /// - /// **Note** This method is only available to bot users. + /// **Note**: Messages that are older than 2 weeks can't be deleted using + /// this method. /// /// # Errors /// |