pub struct ComposeRichMessageWithAi {
pub proofread: bool,
pub emojify: bool,
pub text: Option<InputRichMessage>,
pub translate_to_lang: Option<String>,
pub tone: Option<InputAiComposeTone>,
}Expand description
messages.composeRichMessageWithAI
Generated from:
messages.composeRichMessageWithAI#8d7ae6af flags:# proofread:flags.0?true emojify:flags.3?true text:flags.4?InputRichMessage translate_to_lang:flags.1?string tone:flags.2?InputAiComposeTone = messages.ComposedRichMessageWithAIFields§
§proofread: bool§emojify: bool§text: Option<InputRichMessage>§translate_to_lang: Option<String>§tone: Option<InputAiComposeTone>Trait Implementations§
Source§impl Clone for ComposeRichMessageWithAi
impl Clone for ComposeRichMessageWithAi
Source§fn clone(&self) -> ComposeRichMessageWithAi
fn clone(&self) -> ComposeRichMessageWithAi
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 ComposeRichMessageWithAi
impl Debug for ComposeRichMessageWithAi
Source§impl Deserializable for ComposeRichMessageWithAi
impl Deserializable for ComposeRichMessageWithAi
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for ComposeRichMessageWithAi
impl Identifiable for ComposeRichMessageWithAi
Source§const CONSTRUCTOR_ID: u32 = 0x8d7ae6af
const CONSTRUCTOR_ID: u32 = 0x8d7ae6af
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ComposeRichMessageWithAi
impl PartialEq for ComposeRichMessageWithAi
Source§impl RemoteCall for ComposeRichMessageWithAi
impl RemoteCall for ComposeRichMessageWithAi
Source§type Return = ComposedRichMessageWithAi
type Return = ComposedRichMessageWithAi
The deserialized response type.
impl StructuralPartialEq for ComposeRichMessageWithAi
Auto Trait Implementations§
impl Freeze for ComposeRichMessageWithAi
impl RefUnwindSafe for ComposeRichMessageWithAi
impl Send for ComposeRichMessageWithAi
impl Sync for ComposeRichMessageWithAi
impl Unpin for ComposeRichMessageWithAi
impl UnsafeUnpin for ComposeRichMessageWithAi
impl UnwindSafe for ComposeRichMessageWithAi
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