refactor: increase feishu id buffer size
Signed-off-by: Asklv <boironic@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
/* Message types on the bus */
|
/* Message types on the bus */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char channel[16]; /* "telegram", "websocket", "cli" */
|
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) */
|
char *content; /* Heap-allocated message text (caller must free) */
|
||||||
} mimi_msg_t;
|
} mimi_msg_t;
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ typedef struct {
|
|||||||
int64_t at_epoch; /* For AT: unix timestamp */
|
int64_t at_epoch; /* For AT: unix timestamp */
|
||||||
char message[256]; /* Message to inject into inbound queue */
|
char message[256]; /* Message to inject into inbound queue */
|
||||||
char channel[16]; /* Reply channel (default "system") */
|
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 last_run; /* Last run epoch */
|
||||||
int64_t next_run; /* Next run epoch */
|
int64_t next_run; /* Next run epoch */
|
||||||
bool delete_after_run; /* Remove job after firing (for AT jobs) */
|
bool delete_after_run; /* Remove job after firing (for AT jobs) */
|
||||||
|
|||||||
Reference in New Issue
Block a user