pub struct StopPoll { /* private fields */ }
Expand description
Use this method to stop a poll which was sent by the bot.
Implementations§
Source§impl StopPoll
impl StopPoll
pub fn new<C, M>(chat: C, message: M) -> StopPollwhere
C: ToChatRef,
M: ToMessageId,
pub fn reply_markup<R>(&mut self, reply_markup: R) -> &mut StopPollwhere
R: Into<ReplyMarkup>,
Trait Implementations§
Source§impl PartialOrd for StopPoll
impl PartialOrd for StopPoll
Source§impl Serialize for StopPoll
impl Serialize for StopPoll
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StopPoll
Auto Trait Implementations§
impl Freeze for StopPoll
impl RefUnwindSafe for StopPoll
impl Send for StopPoll
impl Sync for StopPoll
impl Unpin for StopPoll
impl UnwindSafe for StopPoll
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