pub struct MassModule<'a, T: WxApiRequestBuilder>(/* private fields */);
Implementations§
Source§impl<'a, T: WxApiRequestBuilder> MassModule<'a, T>
impl<'a, T: WxApiRequestBuilder> MassModule<'a, T>
Sourcepub async fn send_all(
&self,
filter: SendAllFilter,
content: SendContent,
client_msg_id: Option<String>,
) -> SdkResult<SendResponse>
pub async fn send_all( &self, filter: SendAllFilter, content: SendContent, client_msg_id: Option<String>, ) -> SdkResult<SendResponse>
根据标签进行群发
Sourcepub async fn send(
&self,
touser: Vec<String>,
content: SendContent,
client_msg_id: Option<String>,
) -> SdkResult<SendResponse>
pub async fn send( &self, touser: Vec<String>, content: SendContent, client_msg_id: Option<String>, ) -> SdkResult<SendResponse>
根据OpenID列表群发
Sourcepub async fn preview(
&self,
touser: String,
content: SendContent,
) -> SdkResult<SendResponse>
pub async fn preview( &self, touser: String, content: SendContent, ) -> SdkResult<SendResponse>
预览接口
Auto Trait Implementations§
impl<'a, T> Freeze for MassModule<'a, T>
impl<'a, T> RefUnwindSafe for MassModule<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for MassModule<'a, T>where
T: Sync,
impl<'a, T> Sync for MassModule<'a, T>where
T: Sync,
impl<'a, T> Unpin for MassModule<'a, T>
impl<'a, T> UnwindSafe for MassModule<'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