vaegram 0.2.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::errors::Result;
use crate::types::PeerRef;

impl Client {
    /// Removes the verification your organization gave to a chat.
    pub async fn remove_chat_verification(&self, chat_id: impl Into<PeerRef>) -> Result<()> {
        self.set_custom_verification(chat_id.into(), false, None).await
    }
}