Struct seabird::Client [−][src]
pub struct Client { /* fields omitted */ }
Implementations
pub async fn perform_private_action(
&mut self,
user_id: impl Into<String>,
text: impl Into<String>,
tags: Option<HashMap<String, String>>
) -> Result<()>
pub async fn perform_action(
&mut self,
channel_id: impl Into<String>,
text: impl Into<String>,
tags: Option<HashMap<String, String>>
) -> Result<()>
pub async fn send_message(
&mut self,
channel_id: impl Into<String>,
text: impl Into<String>,
tags: Option<HashMap<String, String>>
) -> Result<()>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more