@overpod/mcp-telegram 1.20.0 → 1.21.0
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/CHANGELOG.md +5 -0
- package/dist/telegram-client.d.ts +2 -0
- package/dist/telegram-client.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.21.0] - 2026-04-01
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- `TelegramService.getClient()` — public accessor for the underlying GramJS `TelegramClient` instance, enabling event handlers like `NewMessage` for real-time listeners (#17)
|
|
14
|
+
|
|
10
15
|
## [1.20.0] - 2026-03-31
|
|
11
16
|
|
|
12
17
|
### Added
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TelegramClient } from "telegram";
|
|
1
2
|
import { Api } from "telegram/tl/index.js";
|
|
2
3
|
export declare class TelegramService {
|
|
3
4
|
private client;
|
|
@@ -9,6 +10,7 @@ export declare class TelegramService {
|
|
|
9
10
|
private rateLimiter;
|
|
10
11
|
lastError: string;
|
|
11
12
|
get sessionDir(): string;
|
|
13
|
+
getClient(): TelegramClient | null;
|
|
12
14
|
constructor(apiId: number, apiHash: string, options?: {
|
|
13
15
|
sessionPath?: string;
|
|
14
16
|
});
|
package/dist/telegram-client.js
CHANGED
package/package.json
CHANGED