Skip to content

25.0.0#332

Merged
InsanusMokrassar merged 16 commits into
masterfrom
25.0.0
Jun 14, 2025
Merged

25.0.0#332
InsanusMokrassar merged 16 commits into
masterfrom
25.0.0

Conversation

@InsanusMokrassar
Copy link
Copy Markdown
Owner

@InsanusMokrassar InsanusMokrassar commented May 11, 2025

Business Accounts

Mini Apps

  • Added the field DeviceStorage, allowing Mini Apps to use persistent local storage on the user's device.
  • Added the field SecureStorage, allowing Mini Apps to use a secure local storage on the user's device for sensitive data.

Gifts

Telegram Premium

  • Added the method giftPremiumSubscription, allowing bots to gift a user a Telegram Premium subscription paid in Telegram Stars.
  • Added the field premium_subscription_duration to the class TransactionPartnerUser for transactions involving a Telegram Premium subscription purchased by the bot.
  • Added the field transaction_type to the class TransactionPartnerUser, simplifying the differentiation and processing of all transaction types.

General

  • Increased the maximum price for paid media to 10000 Telegram Stars.
  • Increased the maximum price for a subscription period to 10000 Telegram Stars.
  • Added the class PaidMessagePriceChanged and the field paid_message_price_changed to the class Message, describing a service message about a price change for paid messages sent to the chat.
  • Added the field paid_star_count to the class Message, containing the number of Telegram Stars that were paid to send the message.

Additionally:

  • Rework of TransactionPartner.User to separate it by transactionType

@InsanusMokrassar InsanusMokrassar merged commit 56e072a into master Jun 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant