agent-afk 5.130.6 → 5.131.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +291 -289
- package/dist/improve/schemas.d.ts +3 -3
- package/dist/index.mjs +190 -188
- package/dist/telegram/bot.d.ts +1 -0
- package/dist/telegram/handlers/document.d.ts +3 -0
- package/dist/telegram/handlers/message.d.ts +2 -0
- package/dist/telegram.mjs +257 -255
- package/package.json +1 -1
package/dist/telegram/bot.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export declare class TelegramBot {
|
|
|
31
31
|
handleClear(ctx: Context): Promise<void>;
|
|
32
32
|
handleMessage(ctx: Context): Promise<void>;
|
|
33
33
|
handlePhoto(ctx: Context): Promise<void>;
|
|
34
|
+
handleDocument(ctx: Context): Promise<void>;
|
|
34
35
|
handleModelSwitch(ctx: Context): Promise<void>;
|
|
35
36
|
private startAutoSubscribe;
|
|
36
37
|
private stopAutoSubscribe;
|
|
@@ -21,12 +21,14 @@ export declare class MessageHandler {
|
|
|
21
21
|
private readonly tagOnlyChats;
|
|
22
22
|
constructor(bot: Telegraf, sessionManager: SessionManager, registeredCommandChats: Set<number>, log: LogFn, tagOnlyChats?: Set<number>);
|
|
23
23
|
handlePhoto(ctx: Context): Promise<void>;
|
|
24
|
+
handleDocument(ctx: Context): Promise<void>;
|
|
24
25
|
handle(ctx: Context): Promise<void>;
|
|
25
26
|
processClearDirect(route: TelegramRoute, ctx: Context): Promise<void>;
|
|
26
27
|
private processCompactDirect;
|
|
27
28
|
private queueFor;
|
|
28
29
|
private enqueueMessage;
|
|
29
30
|
private enqueuePhoto;
|
|
31
|
+
private enqueueDocument;
|
|
30
32
|
enqueueClear(route: TelegramRoute, ctx: Context): void;
|
|
31
33
|
enqueueCompact(route: TelegramRoute, ctx: Context): void;
|
|
32
34
|
private processOne;
|