pub struct AnswerWebAppQuery { /* private fields */ }Expand description
Builder for the answerWebAppQuery method.
Sets the result of an interaction with a Web App and sends the corresponding
message on behalf of the user to the originating chat.
Returns a SentWebAppMessage object.
Trait Implementations§
Source§impl IntoFuture for AnswerWebAppQuery
impl IntoFuture for AnswerWebAppQuery
Source§type Output = Result<SentWebAppMessage, Error>
type Output = Result<SentWebAppMessage, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <AnswerWebAppQuery as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <AnswerWebAppQuery as IntoFuture>::Output> + Send>>
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
Auto Trait Implementations§
impl !RefUnwindSafe for AnswerWebAppQuery
impl !UnwindSafe for AnswerWebAppQuery
impl Freeze for AnswerWebAppQuery
impl Send for AnswerWebAppQuery
impl Sync for AnswerWebAppQuery
impl Unpin for AnswerWebAppQuery
impl UnsafeUnpin for AnswerWebAppQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more