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

Appearance settings

Full Support for Bot API 9.3 #5077

Copy link
Copy link
@aelkheir

Description

@aelkheir
Issue body actions

What kind of feature are you missing? Where do you notice a shortcoming of PTB?

Bot API 9.3

Important

Describe the solution you'd like

Topics in private chats (@aelkheir) #5079

Gifts

  • Added the methods getUserGifts and getChatGifts.
  • Replaced the field last_resale_star_count with the fields last_resale_currency and last_resale_amount in the class UniqueGiftInfo.
  • Replaced the parameter exclude_limited with the parameters exclude_limited_upgradable and exclude_limited_non_upgradable in the method getBusinessAccountGifts.
  • Added the value “gifted_upgrade” as a possible value of UniqueGiftInfo.origin for messages about the upgrade of a gift that was purchased after it was sent.
  • Added the value “offer” as a possible value of UniqueGiftInfo.origin for messages about the purchase of a gift through a purchase offer.
  • Added the field gift_upgrade_sent to the class Message.
  • Added the field gift_id to the class UniqueGift.
  • Added the field is_from_blockchain to the class UniqueGift.
  • Added the parameter exclude_from_blockchain in the method getBusinessAccountGifts, to filter out gifts that were assigned from the TON blockchain.
  • Added the fields personal_total_count and personal_remaining_count to the class Gift.
  • Added the field is_premium to the classes Gift and UniqueGift.
  • Added the field is_upgrade_separate to the classes GiftInfo and OwnedGiftRegular.
  • Added the class UniqueGiftColors that describes the color scheme for a user's name, replies to messages and link previews based on a unique gift.
  • Added the field has_colors to the class Gift.
  • Added the field colors to the class UniqueGift.
  • Added the class GiftBackground and the field background to the class Gift.
  • Added the field unique_gift_variant_count to the class Gift.
  • Added the field unique_gift_number to the classes GiftInfo and OwnedGiftRegular.
  • Added the field gifts_from_channels to the class AcceptedGiftTypes.

Miscellaneous

  • Allowed bots to disable their main username if they have additional active usernames purchased on Fragment.
  • Allowed bots to disable the right can_restrict_members in channel chats.
  • Added the method repostStory, allowing bots to repost stories across different business accounts they manage.
  • Added the class UserRating and the field rating to the class ChatFullInfo.
  • Increased the maximum price for paid media to 25000 Telegram Stars.
  • Added the field paid_message_star_count to the class ChatFullInfo.
  • Added the parameter message_effect_id to the methods forwardMessage and copyMessage.
  • Added the field unique_gift_colors to the class ChatFullInfo.
  • Added the field completed_by_chat to the class ChecklistTask.

Describe alternatives you've considered

If you want to contribute, you can start from the Contribution Guide.

Additional context

Please comment below before start working on any part of the update so as to keep things in track and avoid double work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.