pub struct CustomServiceModule<'a, T: WxApiRequestBuilder>(/* private fields */);
Expand description
Custom service module 客服模块
Implementations§
Source§impl<'a, T: WxApiRequestBuilder> CustomServiceModule<'a, T>
impl<'a, T: WxApiRequestBuilder> CustomServiceModule<'a, T>
Sourcepub async fn getonlinekflist(&self) -> SdkResult<KFOnlineList>
pub async fn getonlinekflist(&self) -> SdkResult<KFOnlineList>
获取在线客服信息
Sourcepub async fn kfaccount_add(
&self,
kf_account: String,
nickname: String,
) -> SdkResult<()>
pub async fn kfaccount_add( &self, kf_account: String, nickname: String, ) -> SdkResult<()>
添加客服帐号
Sourcepub async fn kfaccount_inviteworker(
&self,
kf_account: String,
invite_wx: String,
) -> SdkResult<()>
pub async fn kfaccount_inviteworker( &self, kf_account: String, invite_wx: String, ) -> SdkResult<()>
邀请绑定客服帐号
Sourcepub async fn kfaccount_update(
&self,
kf_account: String,
nickname: String,
) -> SdkResult<()>
pub async fn kfaccount_update( &self, kf_account: String, nickname: String, ) -> SdkResult<()>
设置客服信息
Sourcepub async fn kfaccount_uploadheadimg(
&self,
kf_account: String,
file: FileStruct,
) -> SdkResult<()>
pub async fn kfaccount_uploadheadimg( &self, kf_account: String, file: FileStruct, ) -> SdkResult<()>
上传客服头像
Sourcepub async fn kfaccount_del(&self, kf_account: String) -> SdkResult<()>
pub async fn kfaccount_del(&self, kf_account: String) -> SdkResult<()>
删除客服帐号
Auto Trait Implementations§
impl<'a, T> Freeze for CustomServiceModule<'a, T>
impl<'a, T> RefUnwindSafe for CustomServiceModule<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for CustomServiceModule<'a, T>where
T: Sync,
impl<'a, T> Sync for CustomServiceModule<'a, T>where
T: Sync,
impl<'a, T> Unpin for CustomServiceModule<'a, T>
impl<'a, T> UnwindSafe for CustomServiceModule<'a, T>where
T: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more