pub struct InputMessageStory {
pub story_sender_chat_id: i64,
pub story_id: i32,
}
Expand description
A message with a forwarded story. Stories can’t be sent to secret chats. A story can be forwarded only if story.can_be_forwarded
Fields§
§story_sender_chat_id: i64
Identifier of the chat that posted the story
story_id: i32
Story identifier
Trait Implementations§
Source§impl Clone for InputMessageStory
impl Clone for InputMessageStory
Source§fn clone(&self) -> InputMessageStory
fn clone(&self) -> InputMessageStory
Returns a copy 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 InputMessageStory
impl Debug for InputMessageStory
Source§impl Default for InputMessageStory
impl Default for InputMessageStory
Source§fn default() -> InputMessageStory
fn default() -> InputMessageStory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputMessageStory
impl<'de> Deserialize<'de> for InputMessageStory
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 PartialEq for InputMessageStory
impl PartialEq for InputMessageStory
Source§impl Serialize for InputMessageStory
impl Serialize for InputMessageStory
impl StructuralPartialEq for InputMessageStory
Auto Trait Implementations§
impl Freeze for InputMessageStory
impl RefUnwindSafe for InputMessageStory
impl Send for InputMessageStory
impl Sync for InputMessageStory
impl Unpin for InputMessageStory
impl UnwindSafe for InputMessageStory
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