[][src]Trait telegram_bot::types::requests::send_poll::CanSendPoll

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

Send message with a poll.

Required methods

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

Loading content...

Implementors

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

Loading content...