Skip to main content

proto_blue_api/generated/app/bsky/feed/
getPostThread.rs

1// Generated by atproto-codegen. Do not edit.
2//! Lexicon: app.bsky.feed.getPostThread
3
4use serde::{Deserialize, Serialize};
5
6/// Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.
7/// XRPC Query: app.bsky.feed.getPostThread
8#[derive(Debug, Clone, Serialize, Deserialize)]
9#[serde(rename_all = "camelCase")]
10pub struct Params {
11    #[serde(skip_serializing_if = "Option::is_none")]
12    pub depth: Option<i64>,
13    #[serde(skip_serializing_if = "Option::is_none")]
14    pub parent_height: Option<i64>,
15    pub uri: String,
16}
17
18#[derive(Debug, Clone, Serialize, Deserialize)]
19#[serde(rename_all = "camelCase")]
20pub struct Output {
21    pub thread: serde_json::Value,
22    #[serde(skip_serializing_if = "Option::is_none")]
23    pub threadgate: Option<crate::app::bsky::feed::defs::ThreadgateView>,
24}