pub struct InputStoryAreaTypeMessage {
pub chat_id: i64,
pub message_id: i64,
}Expand description
An area pointing to a message
Fields§
§chat_id: i64Identifier of the chat with the message. Currently, the chat must be a supergroup or a channel chat
message_id: i64Identifier of the message. Use messageProperties.can_be_shared_in_story to check whether the message is suitable
Trait Implementations§
Source§impl Clone for InputStoryAreaTypeMessage
impl Clone for InputStoryAreaTypeMessage
Source§fn clone(&self) -> InputStoryAreaTypeMessage
fn clone(&self) -> InputStoryAreaTypeMessage
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 InputStoryAreaTypeMessage
impl Debug for InputStoryAreaTypeMessage
Source§impl Default for InputStoryAreaTypeMessage
impl Default for InputStoryAreaTypeMessage
Source§fn default() -> InputStoryAreaTypeMessage
fn default() -> InputStoryAreaTypeMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputStoryAreaTypeMessage
impl<'de> Deserialize<'de> for InputStoryAreaTypeMessage
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
impl StructuralPartialEq for InputStoryAreaTypeMessage
Auto Trait Implementations§
impl Freeze for InputStoryAreaTypeMessage
impl RefUnwindSafe for InputStoryAreaTypeMessage
impl Send for InputStoryAreaTypeMessage
impl Sync for InputStoryAreaTypeMessage
impl Unpin for InputStoryAreaTypeMessage
impl UnsafeUnpin for InputStoryAreaTypeMessage
impl UnwindSafe for InputStoryAreaTypeMessage
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