Skip to content

Commit

Permalink
Fix #1402
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenlagus committed Jul 13, 2024
1 parent 09e6473 commit 2e2ed35
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<packaging>pom</packaging>
<version>7.7.0</version>
<version>7.7.1</version>

<modules>
<module>telegrambots-meta</module>
Expand Down
6 changes: 3 additions & 3 deletions telegrambots-abilities/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</parent>

<artifactId>telegrambots-abilities</artifactId>
Expand Down Expand Up @@ -104,12 +104,12 @@
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-webhook</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</dependency>
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-longpolling</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</parent>

<name>Telegram Bots Client</name>
Expand Down
4 changes: 2 additions & 2 deletions telegrambots-extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Just import add the library to your project with one of these options:
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-extensions</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</dependency>
```

2. Using Gradle:

```gradle
implementation 'org.telegram:telegrambots-extensions:7.7.0'
implementation 'org.telegram:telegrambots-extensions:7.7.1'
```
6 changes: 3 additions & 3 deletions telegrambots-extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</parent>

<artifactId>telegrambots-extensions</artifactId>
Expand Down Expand Up @@ -89,12 +89,12 @@
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-webhook</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</dependency>
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-longpolling</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-longpolling/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</parent>

<artifactId>telegrambots-longpolling</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-meta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</parent>

<artifactId>telegrambots-meta</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
@Jacksonized
@JsonIgnoreProperties(ignoreUnknown = true)
@SuperBuilder
public class PaidMediaPhoto implements TransactionPartner {
public class PaidMediaPhoto implements PaidMedia {
private static final String TYPE_FIELD = "type";
private static final String PHOTO_FIELD = "photo";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@Jacksonized
@JsonIgnoreProperties(ignoreUnknown = true)
@SuperBuilder
public class PaidMediaPreview implements TransactionPartner {
public class PaidMediaPreview implements PaidMedia {
private static final String TYPE_FIELD = "type";
private static final String WIDTH_FIELD = "width";
private static final String HEIGHT_FIELD = "height";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import lombok.experimental.SuperBuilder;
import lombok.extern.jackson.Jacksonized;
import org.telegram.telegrambots.meta.api.objects.Video;
import org.telegram.telegrambots.meta.api.objects.payments.transactionpartner.TransactionPartner;

/**
* @author Ruben Bermudez
Expand All @@ -27,7 +26,7 @@
@Jacksonized
@JsonIgnoreProperties(ignoreUnknown = true)
@SuperBuilder
public class PaidMediaVideo implements TransactionPartner {
public class PaidMediaVideo implements PaidMedia {
private static final String TYPE_FIELD = "type";
private static final String VIDEO_FIELD = "video";

Expand Down
4 changes: 2 additions & 2 deletions telegrambots-springboot-longpolling-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</parent>

<artifactId>telegrambots-springboot-longpolling-starter</artifactId>
Expand Down Expand Up @@ -71,7 +71,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<telegrambots.version>7.7.0</telegrambots.version>
<telegrambots.version>7.7.1</telegrambots.version>
<spring.version>3.2.3</spring.version>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions telegrambots-springboot-webhook-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</parent>

<artifactId>telegrambots-springboot-webhook-starter</artifactId>
Expand Down Expand Up @@ -71,7 +71,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<telegrambots.version>7.7.0</telegrambots.version>
<telegrambots.version>7.7.1</telegrambots.version>
<spring.version>3.2.3</spring.version>
<jackson.version>2.17.2</jackson.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-test-reports/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</parent>

<artifactId>telegrambots-test-reports</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-webhook/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.7.0</version>
<version>7.7.1</version>
</parent>

<artifactId>telegrambots-webhook</artifactId>
Expand Down

0 comments on commit 2e2ed35

Please sign in to comment.