Struct teloxide_core::payloads::EditMessageCaptionInline
source · [−]pub struct EditMessageCaptionInline {
pub inline_message_id: String,
pub caption: Option<String>,
pub parse_mode: Option<ParseMode>,
pub caption_entities: Option<Vec<MessageEntity>>,
pub reply_markup: Option<InlineKeyboardMarkup>,
}Expand description
Use this method to edit captions of messages. On success, True is returned.
See also: EditMessageCaption
Fields
inline_message_id: StringIdentifier of the inline message
caption: Option<String>New caption of the message, 0-1024 characters after entities parsing
parse_mode: Option<ParseMode>Mode for parsing entities in the message text. See formatting options for more details.
caption_entities: Option<Vec<MessageEntity>>List of special entities that appear in the caption, which can be specified instead of parse_mode
reply_markup: Option<InlineKeyboardMarkup>A JSON-serialized object for an inline keyboard.
Implementations
Trait Implementations
sourceimpl Clone for EditMessageCaptionInline
impl Clone for EditMessageCaptionInline
sourcefn clone(&self) -> EditMessageCaptionInlineⓘNotable traits for EditMessageCaptionInlineimpl Payload for EditMessageCaptionInline type Output = True;
fn clone(&self) -> EditMessageCaptionInlineⓘNotable traits for EditMessageCaptionInlineimpl Payload for EditMessageCaptionInline type Output = True;
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for EditMessageCaptionInline
impl Debug for EditMessageCaptionInline
sourceimpl Hash for EditMessageCaptionInline
impl Hash for EditMessageCaptionInline
sourceimpl PartialEq<EditMessageCaptionInline> for EditMessageCaptionInline
impl PartialEq<EditMessageCaptionInline> for EditMessageCaptionInline
sourcefn eq(&self, other: &EditMessageCaptionInline) -> bool
fn eq(&self, other: &EditMessageCaptionInline) -> bool
sourceimpl Payload for EditMessageCaptionInline
impl Payload for EditMessageCaptionInline
sourcefn timeout_hint(&self) -> Option<Duration>
fn timeout_hint(&self) -> Option<Duration>
If this payload may take long time to execute (e.g.
GetUpdates with
big timeout), the minimum timeout that should be used. Read moresourceimpl Serialize for EditMessageCaptionInline
impl Serialize for EditMessageCaptionInline
impl Eq for EditMessageCaptionInline
impl StructuralEq for EditMessageCaptionInline
impl StructuralPartialEq for EditMessageCaptionInline
Auto Trait Implementations
impl RefUnwindSafe for EditMessageCaptionInline
impl Send for EditMessageCaptionInline
impl Sync for EditMessageCaptionInline
impl Unpin for EditMessageCaptionInline
impl UnwindSafe for EditMessageCaptionInline
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.