Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Fix 1.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
natanimn committed Jul 11, 2024
1 parent 00207ad commit badfbf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
<dependecy>
<groupId>et.telebof</groupId>
<artifactId>telegrambot</artifactId>
<version>1.12.0</version>
<version>1.12.1</version>
</dependecy>
```

* Grade

```groovy
implementation 'et.telebof:telegrambot:1.12.0'
implementation 'et.telebof:telegrambot:1.12.1'
```
### Your First Echo Bot

Expand Down Expand Up @@ -149,8 +149,7 @@ context.sendPoll(question, new InputPollOption[]{option1, option2}).exec();

// send invoice
LabeledPrice price1 = new LabeledPrice(label1, amount1);
LabeledPrice price2 = new LabeledPrice(label2, amount2);
context.sendInvoice(title, dscription, payload, currency, new LabeledPrice[]{price1, price2}).exec();
context.sendInvoice(title, dscription, payload, currency, new LabeledPrice[]{price1}).exec();

// send media group
InputMediaPhoto media1 = new InputMediaPhoto(new File("photo_1.png"));
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>et.telebof</groupId>
<artifactId>telegrambot</artifactId>
<version>1.12.0</version>
<version>1.12.1</version>
<description>Easy and modern Java Telegram bot API</description>
<name>Telebof</name>
<packaging>jar</packaging>
Expand Down

0 comments on commit badfbf2

Please sign in to comment.