Skip to content

Commit

Permalink
Version 7.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar Miatello committed Jul 7, 2024
1 parent b10297e commit ebbce8d
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 175 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Full API documentation of Telegram Bot API
https://core.telegram.org/bots/api

**Library API version 7.7.1**
**Library API version 7.7.2**

This library has 3 modules:
- Module [:dataclass:](#how-to-use-dataclass-module)
Expand Down Expand Up @@ -45,7 +45,7 @@ This module contains only 1 file: [TelegramModels.kt](dataclass/src/commonMain/k
Add this in your `build.gradle.ktx` file:
```kotlin
// `data class` with Kotlinx/Serialization
implementation("com.github.omarmiatello.telegram:dataclass:7.7.1")
implementation("com.github.omarmiatello.telegram:dataclass:7.7.2")
```

### Example 1 - Ktor 3.0 server
Expand Down Expand Up @@ -117,7 +117,7 @@ See [https://github.com/omarmiatello/github-actions-kotlin-script-template](http
#!/usr/bin/env kotlin
@file:Repository("https://repo.maven.apache.org/maven2")
@file:DependsOn("com.github.omarmiatello.kotlin-script-toolbox:zero-setup:0.0.3")
@file:DependsOn("com.github.omarmiatello.telegram:client-jvm:7.7.1")
@file:DependsOn("com.github.omarmiatello.telegram:client-jvm:7.7.2")
@file:DependsOn("io.ktor:ktor-client-okhttp-jvm:3.0.0") // required for com.github.omarmiatello.telegram:client

import com.github.omarmiatello.kotlinscripttoolbox.core.launchKotlinScriptToolbox
Expand Down Expand Up @@ -265,7 +265,7 @@ This module contains only 2 file: [TelegramModels.kt](dataclass/src/commonMain/k
Add this in your `build.gradle.ktx` file:
```kotlin
// `data class` with Kotlinx/Serialization + Ktor client
implementation("com.github.omarmiatello.telegram:client:7.7.1")
implementation("com.github.omarmiatello.telegram:client:7.7.2")
```

### Send a message to a user/group/channel
Expand Down Expand Up @@ -331,13 +331,13 @@ NOTE: Not for beginner. Guide [here](docs/dataclass-only.md).
Add this in your `build.gradle.ktx` file:
```kotlin
// alternative, contains: `data class` with Kotlinx/Serialization + Ktor client
implementation("com.github.omarmiatello.telegram:client:7.7.1")
implementation("com.github.omarmiatello.telegram:client:7.7.2")

// alternative, contains only: `data class` with Kotlinx/Serialization
implementation("com.github.omarmiatello.telegram:dataclass:7.7.1")
implementation("com.github.omarmiatello.telegram:dataclass:7.7.2")

// alternative, contains only: `data class` (for plain Java/Kotlin project)
implementation("com.github.omarmiatello.telegram:dataclass-only:7.7.1")
implementation("com.github.omarmiatello.telegram:dataclass-only:7.7.2")
```

## License
Expand Down
Loading

0 comments on commit ebbce8d

Please sign in to comment.