Struct rust_tdlib::types::EditInlineMessageMedia
source · pub struct EditInlineMessageMedia { /* private fields */ }
Expand description
Edits the content of a message with an animation, an audio, a document, a photo or a video in an inline message sent via a bot; for bots only
Implementations§
source§impl EditInlineMessageMedia
impl EditInlineMessageMedia
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> EditInlineMessageMediaBuilder
pub fn inline_message_id(&self) -> &String
pub fn reply_markup(&self) -> &ReplyMarkup
pub fn input_message_content(&self) -> &InputMessageContent
Trait Implementations§
source§impl AsRef<EditInlineMessageMedia> for EditInlineMessageMedia
impl AsRef<EditInlineMessageMedia> for EditInlineMessageMedia
source§fn as_ref(&self) -> &EditInlineMessageMedia
fn as_ref(&self) -> &EditInlineMessageMedia
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for EditInlineMessageMedia
impl Clone for EditInlineMessageMedia
source§fn clone(&self) -> EditInlineMessageMedia
fn clone(&self) -> EditInlineMessageMedia
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 EditInlineMessageMedia
impl Debug for EditInlineMessageMedia
source§impl Default for EditInlineMessageMedia
impl Default for EditInlineMessageMedia
source§fn default() -> EditInlineMessageMedia
fn default() -> EditInlineMessageMedia
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EditInlineMessageMedia
impl<'de> Deserialize<'de> for EditInlineMessageMedia
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