Skip to content

Conversation

@Its-Yash-Developer
Copy link
Owner

Added subscription_expiration_date, is_recurring, and is_first_recurring parameters to pyrogram.types.SuccessfulPayment. Updated _parse method to populate these fields from raw.types.MessageActionPaymentSentMe and raw.types.MessageActionPaymentSent. This aligns SuccessfulPayment with the underlying Telegram API capabilities for recurring payments (subscriptions).

Added `subscription_expiration_date`, `is_recurring`, and `is_first_recurring` parameters to `pyrogram.types.SuccessfulPayment`.
Updated `_parse` method to populate these fields from `raw.types.MessageActionPaymentSentMe` and `raw.types.MessageActionPaymentSent`.
This aligns `SuccessfulPayment` with the underlying Telegram API capabilities for recurring payments (subscriptions).
@Its-Yash-Developer Its-Yash-Developer merged commit 22fbcd1 into main.v1 Jan 20, 2026
20 checks passed
@Its-Yash-Developer Its-Yash-Developer deleted the update-successful-payment-3011790483311648865 branch January 20, 2026 07:49
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.

2 participants