Trait LineModuleApi
Source pub trait LineModuleApi: Send + Sync {
// Required methods
fn acquire_chat_control(
&self,
chat_id: &str,
acquire_chat_control_request: Option<AcquireChatControlRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
fn detach_module(
&self,
detach_module_request: Option<DetachModuleRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
fn get_modules(
&self,
start: Option<&str>,
limit: Option<i32>,
) -> Pin<Box<dyn Future<Output = Result<GetModulesResponse, Error>> + Send>>;
fn release_chat_control(
&self,
chat_id: &str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
}