// Code generated by lexgen. DO NOT EDIT.
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ActorGetStatusOutput {
/// Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.
pub can_create_groups: bool,
/// True when the viewer's account is disabled and cannot actively participate in chat.
pub chat_disabled: bool,
/// The maximum number of members allowed in a group conversation.
pub group_member_limit: i64,
/// Extra fields not defined in the schema.
#[serde(flatten)]
pub extra: std::collections::HashMap<String, serde_json::Value>,
}
/// ActorGetStatus — Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow.
pub async fn actor_get_status(
client: &crate::xrpc::Client,
) -> Result<ActorGetStatusOutput, crate::xrpc::Error> {
client.query("chat.bsky.actor.getStatus", &()).await
}