[−][src]Function tbot::predicates::chat::is_private
pub async fn is_private(context: Arc<impl Message>) -> bool
Checks if the message is from a private chat.
pub async fn is_private(context: Arc<impl Message>) -> bool
Checks if the message is from a private chat.