[][src]Trait telegram_bot::prelude::CanAnswerCallbackQuery

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

Send answers to callback queries sent from inline keyboards.

Required methods

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

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

Loading content...

Implementors

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

Loading content...