maxbot 0.1.3

Автоматизация работы с чат-ботами MAX
Documentation
1
2
3
4
5
6
7
use crate::{client::MaxClient, types::BotInfo, error::Result};

impl MaxClient {
    pub async fn get_me(&self) -> Result<BotInfo> {
        self.request(reqwest::Method::GET, "/me", &[], None).await
    }
}