pub struct SetChatDraftMessage {
pub chat_id: i64,
pub draft_message: Option<DraftMessage>,
}
Expand description
Changes the draft message in a chat
Fields§
§chat_id: i64
Chat identifier
draft_message: Option<DraftMessage>
New draft message; may be null
Trait Implementations§
Source§impl Clone for SetChatDraftMessage
impl Clone for SetChatDraftMessage
Source§fn clone(&self) -> SetChatDraftMessage
fn clone(&self) -> SetChatDraftMessage
Returns a duplicate of the value. Read more
1.0.0 · 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 SetChatDraftMessage
impl Debug for SetChatDraftMessage
Source§impl<'de> Deserialize<'de> for SetChatDraftMessage
impl<'de> Deserialize<'de> for SetChatDraftMessage
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
Source§impl Method for SetChatDraftMessage
impl Method for SetChatDraftMessage
Auto Trait Implementations§
impl Freeze for SetChatDraftMessage
impl RefUnwindSafe for SetChatDraftMessage
impl Send for SetChatDraftMessage
impl Sync for SetChatDraftMessage
impl Unpin for SetChatDraftMessage
impl UnwindSafe for SetChatDraftMessage
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