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: String
Identifier of the inline message
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.
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§
source§impl Clone for EditMessageCaptionInline
impl Clone for EditMessageCaptionInline
source§impl Debug for EditMessageCaptionInline
impl Debug for EditMessageCaptionInline
source§impl Hash for EditMessageCaptionInline
impl Hash for EditMessageCaptionInline
source§impl PartialEq<EditMessageCaptionInline> for EditMessageCaptionInline
impl PartialEq<EditMessageCaptionInline> for EditMessageCaptionInline
source§fn eq(&self, other: &EditMessageCaptionInline) -> bool
fn eq(&self, other: &EditMessageCaptionInline) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Payload for EditMessageCaptionInline
impl Payload for EditMessageCaptionInline
source§fn 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.source§impl 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§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.