pub struct ProjectTelegramConfig {
pub manager_bot: Option<ManagerBotConfig>,
pub profile_picture: Option<ProfilePictureConfig>,
}Expand description
#132 PR-1: project-scoped Telegram config. Hosts the shared-infra
fields (manager bot, profile-picture defaults) that drive the
managed-bots flow in teamctl bot setup. Absent / both fields
absent → existing manual BotFather walkthrough runs verbatim for
each per-agent Agent.interfaces.telegram block (zero-touch).
Fields§
§manager_bot: Option<ManagerBotConfig>Manager bot for the managed-bots flow. When set + its env var
resolves, teamctl bot setup uses it to spawn per-agent child
bots via Telegram’s Bot API 10.0 managed-bot endpoints. Absent
→ operator runs the manual BotFather flow per agent as today.
profile_picture: Option<ProfilePictureConfig>Default profile-picture rendering for spawned child bots. Image-model path is opt-in; absent / failure-of-generation falls back to deterministic initials-in-colored-circle (Q3- ratified). When the whole block is absent, no profile-picture is applied — child bots keep Telegram’s default avatar.
Trait Implementations§
Source§impl Clone for ProjectTelegramConfig
impl Clone for ProjectTelegramConfig
Source§fn clone(&self) -> ProjectTelegramConfig
fn clone(&self) -> ProjectTelegramConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProjectTelegramConfig
impl Debug for ProjectTelegramConfig
Source§impl Default for ProjectTelegramConfig
impl Default for ProjectTelegramConfig
Source§fn default() -> ProjectTelegramConfig
fn default() -> ProjectTelegramConfig
Source§impl<'de> Deserialize<'de> for ProjectTelegramConfig
impl<'de> Deserialize<'de> for ProjectTelegramConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for ProjectTelegramConfig
impl JsonSchema for ProjectTelegramConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more