pub struct InputRichBlockThinking {
pub text: RichText,
}Expand description
A Thinking… placeholder for use while a bot streams an AI response.
Only valid inside sendRichMessageDraft
calls, therefore it can’t be received in messages. See
https://t.me/addemoji/AIActions for examples of custom emoji recommended
for use in this block.
Fields§
§text: RichTextText of the block. May include custom emoji — see https://t.me/addemoji/AIActions for recommended examples.
Trait Implementations§
Source§impl Clone for InputRichBlockThinking
impl Clone for InputRichBlockThinking
Source§fn clone(&self) -> InputRichBlockThinking
fn clone(&self) -> InputRichBlockThinking
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputRichBlockThinking
impl Debug for InputRichBlockThinking
Source§impl<'de> Deserialize<'de> for InputRichBlockThinking
impl<'de> Deserialize<'de> for InputRichBlockThinking
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InputRichBlockThinking
impl RefUnwindSafe for InputRichBlockThinking
impl Send for InputRichBlockThinking
impl Sync for InputRichBlockThinking
impl Unpin for InputRichBlockThinking
impl UnsafeUnpin for InputRichBlockThinking
impl UnwindSafe for InputRichBlockThinking
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