Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

816 B
Raw Blame
/// Structured conversation data added to a team-tool notice; its existing display fields remain unchanged.
public struct BotMessage: Codable, Hashable, Sendable {
    public var sourceBotId: String
    public var targetBotId: String
    public var text: String
    public var reply: String?
    public var detail: String?
    /// The peer's name when it is on another of the user's computers (its id is `name@computer`).
    public var peerName: String?

    public init(sourceBotId: String, targetBotId: String, text: String, reply: String? = nil, detail: String? = nil,
                peerName: String? = nil) {
        self.sourceBotId = sourceBotId
        self.targetBotId = targetBotId
        self.text = text
        self.reply = reply
        self.detail = detail
        self.peerName = peerName
    }
}