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 more