Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Api 9.0 general#4782

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Bibo-Joshi merged 8 commits intoapi_9.0fromapi_9.0-general
May 6, 2025
Merged

Api 9.0 general#4782

Bibo-Joshi merged 8 commits intoapi_9.0fromapi_9.0-general
May 6, 2025

Conversation

Bibo-Joshi
Copy link
Member

No description provided.

@Bibo-JoshiBibo-Joshi marked this pull request as ready for reviewMay 4, 2025 19:17
Copy link

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR introduces support for a new update type, PaidMessagePriceChanged, across tests, filters, constants, and the Message API. Key changes include new tests for PaidMessagePriceChanged, updated constants to handle increased maximum star counts, and integration of the new field in message objects and filters.

Reviewed Changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
FileDescription
tests/test_paidmessagepricechanged.pyNew tests for the PaidMessagePriceChanged feature
tests/test_message.pyAdded references and test cases for paid_star_count and paid_message_price_changed
tests/test_constants.pyUpdated constant values and added new keys for paid fields
tests/ext/test_filters.pyNew filter tests for the PAID_MESSAGE_PRICE_CHANGED update
telegram/ext/filters.pyIntroduced the PAID_MESSAGE_PRICE_CHANGED filter
telegram/constants.pyIncreased maximum values for star counts and updated version notes
telegram/_paidmessagepricechanged.pyNew module implementing PaidMessagePriceChanged
telegram/_message.pyUpdated Message class to include new paid_message_price_changed and paid_star_count fields
telegram/init.pyUpdated exports to include the new PaidMessagePriceChanged module
changes/unreleased/*.tomlChangelog entry updating Bot API 9.0 changes
Files not reviewed (2)
  • docs/source/telegram.at-tree.rst: Language not supported
  • docs/source/telegram.paidmeessagepricechanged.rst: Language not supported
Comments suppressed due to low confidence (1)

telegram/_message.py:449

  • The parameter and docstring use 'paid_start_count' while the attribute in the code is named 'paid_star_count'. Consider renaming the parameter and updating the docstring to maintain consistency.
paid_start_count (:obj:`int`, optional): The number of Telegram Stars that were paid by the

Bibo-Joshi reacted with thumbs up emoji
Copy link
Member

@aelkheiraelkheir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Clean! tried to find something but failed successfully :)

Bibo-Joshi reacted with heart emoji
@Bibo-JoshiBibo-Joshi merged commit9387e9b intoapi_9.0May 6, 2025
25 of 26 checks passed
@Bibo-JoshiBibo-Joshi deleted the api_9.0-general branchMay 6, 2025 05:55
@aelkheiraelkheir mentioned this pull requestMay 12, 2025
35 tasks
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 14, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

Copilot code reviewCopilotCopilot left review comments

@aelkheiraelkheiraelkheir approved these changes

@harshil21harshil21Awaiting requested review from harshil21

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Bibo-Joshi@aelkheir

[8]ページ先頭

©2009-2025 Movatter.jp