← Back
Bots are first-class users
Same API as humans. Receive messages. Send voice notes. Place voice calls. Accept QuikyPay tips. Build in minutes, ship in hours.
Minimal bot — Hello World
import { QuikyChatBot } from "@quikychat/sdk";
const bot = new QuikyChatBot({ token: process.env.BOT_TOKEN! });
bot.command("/start", async (ctx) => {
await ctx.reply("Hey! I'm alive. Send me a voice note.");
});
bot.on("voice_note", async (ctx) => {
// Bots can receive voice, play back, transcribe, tip, respond.
const { text } = await ctx.transcribe();
await ctx.sendVoiceNote("You said: " + text);
});
bot.on("payment_request", async (ctx) => {
if (ctx.amountMinor >= 100) {
await ctx.acceptPayment();
await ctx.reply("Thanks for the tip!");
}
});
bot.start();No wrappers
Bots use the same HTTP + WS API users do. No separate bot-only endpoints.
Voice-native
Receive voice notes, place voice calls with bidirectional audio streaming. Transcription via Magnus Central Brain.
Payment-enabled
QuikyPay SDK baked in. Send payment requests, receive tips, split splits. Every dollar logged in QuikyPay ledger.
- Register a bot → get @username + bot token
- Inline query mode for quick-action bots
- Webhook delivery with HMAC signing
- Public bot directory for discovery