pub struct SendRichMessageDraft { /* private fields */ }Expand description
Builder for the sendRichMessageDraft method.
Streams a partial rich message as a 30-second ephemeral preview.
Once generation is complete, call SendRichMessage with the full content to persist it.
Implementations§
Source§impl SendRichMessageDraft
impl SendRichMessageDraft
Sourcepub fn message_thread_id(self, id: i64) -> Self
pub fn message_thread_id(self, id: i64) -> Self
Sends the draft to the specified topic thread.
Trait Implementations§
Source§impl IntoFuture for SendRichMessageDraft
impl IntoFuture for SendRichMessageDraft
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SendRichMessageDraft as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SendRichMessageDraft 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 SendRichMessageDraft
impl !UnwindSafe for SendRichMessageDraft
impl Freeze for SendRichMessageDraft
impl Send for SendRichMessageDraft
impl Sync for SendRichMessageDraft
impl Unpin for SendRichMessageDraft
impl UnsafeUnpin for SendRichMessageDraft
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