vaegram 0.3.0

Telegram MTProto client library for users and bots
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::Client;
use crate::methods::VerifyChat;
use crate::types::PeerRef;

impl Client {
    /// Verifies a user on behalf of your organization. Returns the same request as [`Client::verify_chat`].
    pub fn verify_user(&self, user_id: impl Into<PeerRef>) -> VerifyChat<'_> {
        self.verify_chat(user_id)
    }
}