Struct twilight_http::request::application::interaction::GetFollowup
source · pub struct GetFollowup<'a> { /* private fields */ }Expand description
Get a followup message of an interaction, by its token and the message ID.
This endpoint is not bound to the application’s global rate limit.
Examples
use std::env;
use twilight_http::{request::AuditLogReason, Client};
use twilight_model::id::Id;
let client = Client::new(env::var("DISCORD_TOKEN")?);
let application_id = Id::new(1);
let response = client
.interaction(application_id)
.followup("token here", Id::new(2))
.await?;Implementations§
source§impl<'a> GetFollowup<'a>
impl<'a> GetFollowup<'a>
Trait Implementations§
source§impl IntoFuture for GetFollowup<'_>
impl IntoFuture for GetFollowup<'_>
§type Output = Result<Response<Message>, Error>
type Output = Result<Response<Message>, Error>
The output that the future will produce on completion.
§type IntoFuture = ResponseFuture<Message>
type IntoFuture = ResponseFuture<Message>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more