pub struct MessageClient<'a> { /* private fields */ }Expand description
Message API client.
Implementations§
Source§impl<'a> MessageClient<'a>
impl<'a> MessageClient<'a>
Sourcepub async fn unread_count(
&self,
params: MessageUnreadCountParams,
) -> BpiResult<UnreadCountData>
pub async fn unread_count( &self, params: MessageUnreadCountParams, ) -> BpiResult<UnreadCountData>
Gets unread message counters.
Sourcepub async fn reply_feed(
&self,
params: MessageReplyFeedParams,
) -> BpiResult<ReplyFeedData>
pub async fn reply_feed( &self, params: MessageReplyFeedParams, ) -> BpiResult<ReplyFeedData>
Gets reply notification feed items.
Sourcepub async fn single_unread(
&self,
params: MessageSingleUnreadParams,
) -> BpiResult<SingleUnreadData>
pub async fn single_unread( &self, params: MessageSingleUnreadParams, ) -> BpiResult<SingleUnreadData>
Gets unread private-message counters.
Source§impl<'a> MessageClient<'a>
impl<'a> MessageClient<'a>
Sourcepub async fn send(&self, params: MessageSendParams) -> BpiResult<SendMsgData>
pub async fn send(&self, params: MessageSendParams) -> BpiResult<SendMsgData>
Sends a private message and returns the canonical payload result.
Trait Implementations§
Source§impl<'a> Clone for MessageClient<'a>
impl<'a> Clone for MessageClient<'a>
Source§fn clone(&self) -> MessageClient<'a>
fn clone(&self) -> MessageClient<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for MessageClient<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MessageClient<'a>
impl<'a> !UnwindSafe for MessageClient<'a>
impl<'a> Freeze for MessageClient<'a>
impl<'a> Send for MessageClient<'a>
impl<'a> Sync for MessageClient<'a>
impl<'a> Unpin for MessageClient<'a>
impl<'a> UnsafeUnpin for MessageClient<'a>
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