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§
sourcefn chat_instance(&self) -> &str
fn chat_instance(&self) -> &str
The identifier of the chat.