OnJobInheritManager

Trait OnJobInheritManager 

Source
pub trait OnJobInheritManager {
    // Required methods
    fn transfer_customer<'life0, 'async_trait>(
        &'life0 self,
        params: ParamsTransferCustomer,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<ResponeTransferCustomer>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn transfer_result<'life0, 'async_trait>(
        &'life0 self,
        params: ParamsTransferResult,
    ) -> Pin<Box<dyn Future<Output = Result<ResponeTransferResultList>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn transfer_onjob_groupchat<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        chat_id_list: &'life1 [&'life2 str],
        new_owner: &'life3 str,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<FailedChat>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

Source

fn transfer_customer<'life0, 'async_trait>( &'life0 self, params: ParamsTransferCustomer, ) -> Pin<Box<dyn Future<Output = Result<Vec<ResponeTransferCustomer>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

分配在职成员的客户 https://developer.work.weixin.qq.com/document/path/92125

Source

fn transfer_result<'life0, 'async_trait>( &'life0 self, params: ParamsTransferResult, ) -> Pin<Box<dyn Future<Output = Result<ResponeTransferResultList>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

查询客户接替状态 https://developer.work.weixin.qq.com/document/path/94088

Source

fn transfer_onjob_groupchat<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, chat_id_list: &'life1 [&'life2 str], new_owner: &'life3 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<FailedChat>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

分配在职成员的客户群 企业可通过此接口,将在职成员为群主的群,分配给另一个客服成员 https://developer.work.weixin.qq.com/document/path/95703 chat_id_list 需要转群主的客户群ID列表。取值范围: 1 ~ 100 new_owner 新群主ID

Implementors§