Function tbot::predicates::chat::is_private[][src]

pub async fn is_private(context: Arc<impl Message>) -> bool

Checks if the message is from a private chat.