1
2
3
4
5
6
7
8
9
use crate::client::LichessApi;
use crate::error::Result;
use crate::model::messaging::*;

impl LichessApi<reqwest::Client> {
    pub async fn send_message(&self, request: inbox::PostRequest) -> Result<bool> {
        self.get_ok(request).await
    }
}