@grom.js/bot-api-spec 0.6.0 → 0.6.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/README.md +2 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
[](https://www.npmjs.com/package/@grom.js/tgx)
|
|
3
3
|
[](https://jsr.io/@grom/tgx)
|
|
4
4
|
|
|
5
|
-
[Telegram Bot API]
|
|
5
|
+
[Telegram Bot API][bot-api] specification as a collection of JavaScript objects in a [custom format](#format).
|
|
6
6
|
|
|
7
7
|
## Motivation
|
|
8
8
|
|
|
@@ -20,10 +20,7 @@ deno add jsr:@grom/bot-api-spec
|
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
|
-
Root module exports two objects:
|
|
24
|
-
|
|
25
|
-
1. `types` — definition of all Bot API types
|
|
26
|
-
2. `methods` — definition of all Bot API methods
|
|
23
|
+
Root module exports two objects: `types` and `methods`, containing definitions of all Bot API types and methods respectively.
|
|
27
24
|
|
|
28
25
|
```ts
|
|
29
26
|
import { types, methods } from '@grom.js/bot-api-spec' // '@grom/bot-api-spec' for JSR
|
package/package.json
CHANGED