Trait teloxide_core::errors::AsResponseParameters

source ·
pub trait AsResponseParameters {
    // Required method
    fn response_parameters(&self) -> Option<ResponseParameters>;

    // Provided methods
    fn retry_after(&self) -> Option<Seconds> { ... }
    fn migrate_to_chat_id(&self) -> Option<ChatId> { ... }
}

Required Methods§

Provided Methods§

Implementors§