[][src]Trait telegram_bot_raw::requests::answer_callback_query::CanAnswerCallbackQuery

pub trait CanAnswerCallbackQuery {
    fn answer<'t, T>(&self, text: T) -> AnswerCallbackQuery<'t>
    where
        T: Into<Cow<'t, str>>
;
fn acknowledge<'t>(&self) -> AnswerCallbackQuery<'t>; }

Send answers to callback queries sent from inline keyboards.

Required methods

fn answer<'t, T>(&self, text: T) -> AnswerCallbackQuery<'t> where
    T: Into<Cow<'t, str>>, 
[src]

fn acknowledge<'t>(&self) -> AnswerCallbackQuery<'t>[src]

Loading content...

Implementors

impl<Q> CanAnswerCallbackQuery for Q where
    Q: ToCallbackQueryId
[src]

Loading content...