0e1b44a920
- Upgrade `java-telegram-bot-api` dependency from version 7.1.1 to 9.4.1 in `pom.xml`. - Modify `sendFile` method in `BotResponseImpl` to log the sent message ID. - Replace deprecated `disableWebPagePreview` with `linkPreviewOptions` in `editMessage` and `edit` methods. - Refactor `createFromScreen` and related methods in `SendMethodUtils` to handle chat ID as a long type for better type safety.
42 lines
1.2 KiB
XML
42 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>ru.penkrat.stbf</groupId>
|
|
<artifactId>stbf-parent</artifactId>
|
|
<version>0.0.3-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>stbf-pengrad</artifactId>
|
|
<name>stbf-pengrad</name>
|
|
<description>Simple Telegram Bot Facade with com.github.pengrad implementation</description>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ru.penkrat.stbf</groupId>
|
|
<artifactId>stbf-api</artifactId>
|
|
<version>0.0.3-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.pengrad</groupId>
|
|
<artifactId>java-telegram-bot-api</artifactId>
|
|
<version>9.4.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|