[][src]Trait telegram_bot_raw::requests::send_poll::CanSendPoll

pub trait CanSendPoll {
    fn poll<'q, 'o, 'e, Q, O>(
        &self,
        question: Q,
        options: Vec<O>
    ) -> SendPoll<'q, 'o, 'e>
    where
        Q: Into<Cow<'q, str>>,
        O: Into<Cow<'o, str>>
; }

Send message with a poll.

Required methods

fn poll<'q, 'o, 'e, Q, O>(
    &self,
    question: Q,
    options: Vec<O>
) -> SendPoll<'q, 'o, 'e> where
    Q: Into<Cow<'q, str>>,
    O: Into<Cow<'o, str>>, 
[src]

Loading content...

Implementors

impl<C> CanSendPoll for C where
    C: ToChatRef
[src]

Loading content...