Skip to main content

atrium_api/chat/bsky/actor/
get_status.rs

1// @generated - This file is generated by atrium-codegen. DO NOT EDIT.
2//!Definitions for the `chat.bsky.actor.getStatus` namespace.
3pub const NSID: &str = "chat.bsky.actor.getStatus";
4#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
5#[serde(rename_all = "camelCase")]
6pub struct OutputData {
7    ///Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.
8    pub can_create_groups: bool,
9    ///True when the viewer's account is disabled and cannot actively participate in chat.
10    pub chat_disabled: bool,
11    ///The maximum number of members allowed in a group conversation.
12    pub group_member_limit: i64,
13}
14pub type Output = crate::types::Object<OutputData>;
15#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
16#[serde(tag = "error", content = "message")]
17pub enum Error {}
18impl std::fmt::Display for Error {
19    fn fmt(&self, _f: &mut std::fmt::Formatter) -> std::fmt::Result {
20        Ok(())
21    }
22}