Skip to content

Commit 52a85a6

Browse files
committed
Bot API v8.0
1 parent 5dcd984 commit 52a85a6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+63244
-641
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
* [Tgkotbot](https://github.com/Heapy/kotbot/tree/main/tgkotbot#readme) – Bot implementation for needs
66
of [Kotlin Community](https://t.me/kotlin_forum) in the telegram
77

8-
## Bot API 7.9
8+
## Bot API 8.0
99

1010
### Install library
1111

1212
```kotlin
13-
implementation("io.heapy.kotbot:core:1.0.0")
13+
implementation("io.heapy.kotbot:core:1.1.0")
1414
```
1515

1616
### Example

buildSrc/src/main/kotlin/kotbot-publish-conventions.gradle.kts

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import java.util.*
2-
31
plugins {
42
signing
53
`java-library`
@@ -16,7 +14,7 @@ java {
1614
val modules: Map<String, Map<String, String>> = mapOf(
1715
"core" to mapOf(
1816
"publishName" to "Telegram chat bot framework",
19-
"publishDescription" to "Unopinionated and flexible framework for building Telegram chat bots",
17+
"publishDescription" to "Unopinionated and flexible library for building Telegram chat bots",
2018
),
2119
)
2220

core-gen/src/main/kotlin/Generate.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import kotlinx.serialization.json.Json
1818
fun main() {
1919
// https://ark0f.github.io/tg-bot-api/custom.json
2020
val apiJson = {}::class.java
21-
.getResource("api790.json")
21+
.getResource("api800.json")
2222
?.readText()
2323
?: error("custom.json not found")
2424

core-gen/src/main/kotlin/Parse.kt

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ fun main() {
2424
"api710",
2525
"api740",
2626
"api790",
27+
"api800",
2728
).forEach { v ->
2829
val input = rootPath.resolve(v).readText()
2930
val output = processVersion(input)

core-gen/src/main/resources/api800

+15,047
Large diffs are not rendered by default.

core-gen/src/main/resources/api800.json

+17,326
Large diffs are not rendered by default.

core-gen/src/main/resources/api800.md

+6,451
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)