proto-blue-api 0.2.1

AT Protocol high-level API: agent, rich text, moderation, generated types
Documentation
// Generated by atproto-codegen. Do not edit.
//! Lexicon: chat.bsky.convo.getConvoAvailability

use serde::{Deserialize, Serialize};

/// Get whether the requester and the other members can chat. If an existing convo is found for these members, it is returned.
/// XRPC Query: chat.bsky.convo.getConvoAvailability
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Params {
    pub members: Vec<String>,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Output {
    pub can_chat: bool,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub convo: Option<crate::chat::bsky::convo::defs::ConvoView>,
}