refactor: increase feishu id buffer size

Signed-off-by: Asklv <boironic@gmail.com>
This commit is contained in:
Asklv
2026-03-03 20:16:00 +08:00
parent 50bcd1aa42
commit f076359900
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
/* Message types on the bus */
typedef struct {
char channel[16]; /* "telegram", "websocket", "cli" */
char chat_id[32]; /* Telegram chat_id or WS client id */
char chat_id[96]; /* Telegram/Feishu chat_id, open_id, or WS client id */
char *content; /* Heap-allocated message text (caller must free) */
} mimi_msg_t;

View File

@@ -20,7 +20,7 @@ typedef struct {
int64_t at_epoch; /* For AT: unix timestamp */
char message[256]; /* Message to inject into inbound queue */
char channel[16]; /* Reply channel (default "system") */
char chat_id[32]; /* Reply chat_id (default "cron") */
char chat_id[96]; /* Reply chat_id/open_id (default "cron") */
int64_t last_run; /* Last run epoch */
int64_t next_run; /* Next run epoch */
bool delete_after_run; /* Remove job after firing (for AT jobs) */