pub trait Callback: Context {
    fn id(&self) -> &Id;
    fn from(&self) -> &User;
    fn chat_instance(&self) -> &str;
}
Expand description

A general trait for callback updates.

Required Methods§

The ID of the callback.

The user who initiated the callback.

The identifier of the chat.

Implementors§