-
-
Notifications
You must be signed in to change notification settings - Fork 380
API v9.1 + v9.2 #426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API v9.1 + v9.2 #426
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
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 |
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