@gramio/types
Advanced tools
Comparing version 7.0.6 to 7.0.7
/** | ||
* Based on Bot Api v7.0.0 (29.12.2023) | ||
* Generated at 1/31/2024, 4:36:06 PM using {@link https://github.com/gramiojs/types | [types]} and {@link https://ark0f.github.io/tg-bot-api | [schema]} generators | ||
* Generated at 2/2/2024, 12:18:23 AM using {@link https://github.com/gramiojs/types | [types]} and {@link https://ark0f.github.io/tg-bot-api | [schema]} generators | ||
*/ | ||
@@ -5,0 +5,0 @@ import * as Params from "./params" |
{ | ||
"name": "@gramio/types", | ||
"version": "7.0.6", | ||
"version": "7.0.7", | ||
"homepage": "https://github.com/gramiojs/types", | ||
@@ -5,0 +5,0 @@ "readme": "https://github.com/gramiojs/types", |
@@ -16,2 +16,7 @@ # Code-generated and Auto-published Telegram Bot API types | ||
### Auto-update package | ||
This library is updated automatically to the latest version of the Telegram Bot Api in case of changes thanks to CI CD! | ||
If the github action failed, there are no changes in the bot api | ||
## Imports | ||
@@ -55,11 +60,20 @@ | ||
chat_id: 1, | ||
text: "msg", | ||
text: "message", | ||
}); | ||
``` | ||
### Auto-update package | ||
#### Usage with [`@gramio/keyboards`](https://github.com/gramiojs/keyboards) | ||
This library is updated automatically to the latest version of the Telegram Bot Api in case of changes thanks to CI CD! | ||
If the github action failed, there are no changes in the bot api | ||
```typescript | ||
import { Keyboard } from "@gramio/keyboards"; | ||
// the code from the example above | ||
api.sendMessage({ | ||
chat_id: 1, | ||
text: "message with keyboard", | ||
reply_markup: new Keyboard().text("button text"), | ||
}); | ||
``` | ||
## Generate types manually | ||
@@ -99,2 +113,2 @@ | ||
5. Profit! Check out the types of Telegram Bot API in `types` folder! | ||
5. Profit! Check out the types of Telegram Bot API in `out` folder! |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
384654
9334
112