Struct twilight_http::request::channel::webhook::GetWebhookMessage
source · pub struct GetWebhookMessage<'a> { /* private fields */ }
Expand description
Get a webhook message by webhook ID, token, and message ID.
Implementations§
source§impl<'a> GetWebhookMessage<'a>
impl<'a> GetWebhookMessage<'a>
sourcepub fn thread_id(self, thread_id: Id<ChannelMarker>) -> Self
pub fn thread_id(self, thread_id: Id<ChannelMarker>) -> Self
Get a message in a thread belonging to the channel instead of the channel itself.
Trait Implementations§
source§impl IntoFuture for GetWebhookMessage<'_>
impl IntoFuture for GetWebhookMessage<'_>
§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