Struct telegram_bot_raw_ars::requests::stop_poll::StopPoll
source · 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) -> Selfwhere
C: ToChatRef,
M: ToMessageId,
pub fn reply_markup<R>(&mut self, reply_markup: R) -> &mut Selfwhere
R: Into<ReplyMarkup>,
Trait Implementations§
source§impl PartialEq<StopPoll> for StopPoll
impl PartialEq<StopPoll> for StopPoll
source§impl PartialOrd<StopPoll> for StopPoll
impl PartialOrd<StopPoll> for StopPoll
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more