Struct teloxide_core::payloads::EditMessageReplyMarkup
source · pub struct EditMessageReplyMarkup {
pub chat_id: Recipient,
pub message_id: MessageId,
pub reply_markup: Option<InlineKeyboardMarkup>,
}
Expand description
Use this method to edit only the reply markup of messages. On success, the edited Message is returned.
See also: EditMessageMediaInline
Fields§
§chat_id: Recipient
Unique identifier for the target chat or username of the target channel (in the format @channelusername
).
message_id: MessageId
Identifier of the message to edit
reply_markup: Option<InlineKeyboardMarkup>
A JSON-serialized object for an inline keyboard.
Implementations§
Trait Implementations§
source§impl Clone for EditMessageReplyMarkup
impl Clone for EditMessageReplyMarkup
source§impl Debug for EditMessageReplyMarkup
impl Debug for EditMessageReplyMarkup
source§impl Hash for EditMessageReplyMarkup
impl Hash for EditMessageReplyMarkup
source§impl PartialEq<EditMessageReplyMarkup> for EditMessageReplyMarkup
impl PartialEq<EditMessageReplyMarkup> for EditMessageReplyMarkup
source§fn eq(&self, other: &EditMessageReplyMarkup) -> bool
fn eq(&self, other: &EditMessageReplyMarkup) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Payload for EditMessageReplyMarkup
impl Payload for EditMessageReplyMarkup
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 EditMessageReplyMarkup
impl Serialize for EditMessageReplyMarkup
impl Eq for EditMessageReplyMarkup
impl StructuralEq for EditMessageReplyMarkup
impl StructuralPartialEq for EditMessageReplyMarkup
Auto Trait Implementations§
impl RefUnwindSafe for EditMessageReplyMarkup
impl Send for EditMessageReplyMarkup
impl Sync for EditMessageReplyMarkup
impl Unpin for EditMessageReplyMarkup
impl UnwindSafe for EditMessageReplyMarkup
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.