pub struct EditMessageChecklist {
pub business_connection_id: BusinessConnectionId,
pub chat_id: ChatId,
pub message_id: MessageId,
pub checklist: InputChecklist,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Use this method to edit a checklist on behalf of a connected business account. On success, the edited Message is returned.
Fields§
§business_connection_id: BusinessConnectionIdUnique identifier of the business connection on behalf of which the message will be sent
chat_id: ChatIdUnique identifier for the target chat
message_id: MessageIdUnique identifier for the target message
checklist: InputChecklistThe new checklist
reply_markup: Option<ReplyMarkup>The new inline keyboard for the message
Implementations§
Source§impl EditMessageChecklist
impl EditMessageChecklist
pub fn new( business_connection_id: BusinessConnectionId, chat_id: impl Into<ChatId>, message_id: MessageId, checklist: InputChecklist, ) -> Self
Trait Implementations§
Source§impl Clone for EditMessageChecklist
impl Clone for EditMessageChecklist
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 EditMessageChecklist
impl Debug for EditMessageChecklist
Source§impl Hash for EditMessageChecklist
impl Hash for EditMessageChecklist
Source§impl PartialEq for EditMessageChecklist
impl PartialEq for EditMessageChecklist
Source§impl Payload for EditMessageChecklist
impl Payload for EditMessageChecklist
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 EditMessageChecklist
impl Serialize for EditMessageChecklist
impl Eq for EditMessageChecklist
impl StructuralPartialEq for EditMessageChecklist
Auto Trait Implementations§
impl Freeze for EditMessageChecklist
impl RefUnwindSafe for EditMessageChecklist
impl Send for EditMessageChecklist
impl Sync for EditMessageChecklist
impl Unpin for EditMessageChecklist
impl UnwindSafe for EditMessageChecklist
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<P> EditMessageChecklistSetters for Pwhere
P: HasPayload<Payload = EditMessageChecklist>,
impl<P> EditMessageChecklistSetters for Pwhere
P: HasPayload<Payload = EditMessageChecklist>,
Source§fn business_connection_id(self, value: BusinessConnectionId) -> Self
fn business_connection_id(self, value: BusinessConnectionId) -> Self
Setter for
business_connection_id field.Source§fn message_id(self, value: MessageId) -> Self
fn message_id(self, value: MessageId) -> Self
Setter for
message_id field.Source§fn checklist(self, value: InputChecklist) -> Self
fn checklist(self, value: InputChecklist) -> Self
Setter for
checklist field.Source§fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
fn reply_markup<T>(self, value: T) -> Selfwhere
T: Into<ReplyMarkup>,
Setter for
reply_markup field.Source§impl<T> Erasable for T
impl<T> Erasable for T
Source§impl<P> HasPayload for Pwhere
P: Payload,
impl<P> HasPayload for Pwhere
P: Payload,
Source§fn payload_mut(&mut self) -> &mut <P as HasPayload>::Payload
fn payload_mut(&mut self) -> &mut <P as HasPayload>::Payload
Gain mutable access to the underlying payload.
Source§fn payload_ref(&self) -> &<P as HasPayload>::Payload
fn payload_ref(&self) -> &<P as HasPayload>::Payload
Gain immutable access to the underlying payload.
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more