Function egg_mode::direct::delete [] [src]

pub fn delete<'a>(
    id: u64,
    token: &Token,
    handle: &'a Handle
) -> FutureResponse<'a, DirectMessage>

Delete the direct message with the given ID.

The authenticated user must be the sender of this DM for this call to be successful.

On a successful deletion, the future returned by this function yields the freshly-deleted message.