pub trait TeamsProvider: Send + Sync {
// Required methods
fn send_message<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
team_id: &'life1 str,
channel_id: &'life2 str,
content: &'life3 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
fn list_teams<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_channels<'life0, 'life1, 'async_trait>(
&'life0 self,
team_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn create_meeting<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
subject: &'life1 str,
start: &'life2 str,
end: &'life3 str,
attendees: &'life4 [String],
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait;
fn get_presence<'life0, 'life1, 'async_trait>(
&'life0 self,
user_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn set_presence<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
availability: &'life1 str,
activity: &'life2 str,
) -> Pin<Box<dyn Future<Output = IntegrationResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Teams provider trait