Conversation
…o, describing a checklist in a message.
… to the class Message, describing a service message about status changes for tasks in a checklist
…ed to the class Message, describing a service message about the addition of new tasks to a checklist.
…behalf of a business account.
…ist on behalf of a business account.
… balance of Telegram Stars.
…e_price_changed to the class Message, describing a service message about a price change for direct messages sent to the channel chat.
…ing bots to reply to a specific checklist task.
…ch can be used to get information about the chat that published a gift.
…fo which can be used to identify supergroups that are used as channel direct messages chats.
… the parent channel chat for a channel direct messages chat
…ic to the class Message, describing a topic of a direct messages chat.
…ge, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendPaidMedia, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendDice, sendInvoice, sendMediaGroup, copyMessage, copyMessages, forwardMessage and forwardMessages.
…ost_parameters to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendPaidMedia, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendDice, sendInvoice, copyMessage, forwardMessage.
…dministrator and ChatAdministratorRights
…o the class Message, describing a suggested post
… SuggestedPostDeclined, SuggestedPostPaid, SuggestedPostRefunded and the respective fields in the class Message
There was a problem hiding this comment.
Pull Request Overview
Updates the Telegram Bot API implementation to support version 9.2, adding comprehensive support for checklists, suggested posts, direct messages in channels, and enhanced gift functionality. The PR also includes some corrections for spelling errors in comment text.
- Updates version numbers from 9.0.0 to 9.2.0 across build configuration files
- Implements new API features including checklists, suggested posts, direct messages topics, and enhanced gift objects
- Adds new request and response classes for the new API endpoints
Reviewed Changes
Copilot reviewed 46 out of 46 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pom.xml | Updates Maven version to 9.2.0 |
| gradle.properties | Updates Gradle version to 9.2.0 |
| README.md, README_RU.md | Updates documentation to reflect Bot API 9.2 support |
| SendGift.kt, ForwardMessage.kt, CopyMessage.kt, Video.kt | Fixes spelling errors in comments (compatability → compatibility) |
| PaidMessagePriceChanged.kt | Moves class to stars package |
| Multiple new response/request/model files | Implements new Bot API 9.2 features for checklists, suggested posts, and direct messages |
| Message.java, ExternalReplyInfo.java, Chat.java, ChatFullInfo.java | Adds new fields to support API 9.2 features |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
library/src/main/java/com/pengrad/telegrambot/model/stars/PaidMessagePriceChanged.kt
Show resolved
Hide resolved
Collaborator
Author
|
This PR should be ready. As I said in the previous PR for v9.0 I'm not very familiar with Kotlin, so any suggestion / correction is appreciated. Thanks |
pengrad
approved these changes
Aug 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
I'm implementing BOT API changes for v9.1 and v9.2:
Bot API 9.2
Checklists
Gifts
Direct Messages in Channels
Suggested Posts
July 3, 2025
Bot API 9.1
Checklists
Gifts
General