lichess_api/api/
messaging.rs

1use crate::client::LichessApi;
2use crate::error::Result;
3use crate::model::messaging::*;
4
5impl LichessApi<reqwest::Client> {
6    pub async fn send_message(&self, request: impl Into<inbox::PostRequest>) -> Result<bool> {
7        self.get_ok(request.into()).await
8    }
9}