Struct rust_tdlib::types::EditMessageText
source · pub struct EditMessageText { /* private fields */ }
Expand description
Edits the text of a message (or a text of a game message). Returns the edited message after the edit is completed on the server side
Implementations§
source§impl EditMessageText
impl EditMessageText
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> EditMessageTextBuilder
pub fn chat_id(&self) -> i64
pub fn message_id(&self) -> i64
pub fn reply_markup(&self) -> &ReplyMarkup
pub fn input_message_content(&self) -> &InputMessageContent
Trait Implementations§
source§impl AsRef<EditMessageText> for EditMessageText
impl AsRef<EditMessageText> for EditMessageText
source§fn as_ref(&self) -> &EditMessageText
fn as_ref(&self) -> &EditMessageText
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for EditMessageText
impl Clone for EditMessageText
source§fn clone(&self) -> EditMessageText
fn clone(&self) -> EditMessageText
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 EditMessageText
impl Debug for EditMessageText
source§impl Default for EditMessageText
impl Default for EditMessageText
source§fn default() -> EditMessageText
fn default() -> EditMessageText
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EditMessageText
impl<'de> Deserialize<'de> for EditMessageText
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