Skip to main content

send_temporary_message

Function send_temporary_message 

Source
pub async fn send_temporary_message(
    ctx: &Context,
    channel_id: ChannelId,
    content: impl Into<String>,
    delete_after_secs: u64,
)
Expand description

Send a message that auto-deletes after a specified number of seconds.