Skip to content

MTProto Update: gifted_premium.py argument mismatch#174

Closed
msx98 wants to merge 3 commits into
Mayuri-Chan:mainfrom
msx98:main
Closed

MTProto Update: gifted_premium.py argument mismatch#174
msx98 wants to merge 3 commits into
Mayuri-Chan:mainfrom
msx98:main

Conversation

@msx98
Copy link
Copy Markdown

@msx98 msx98 commented Apr 10, 2026

The generated raw.types.message_action_gift_premium (only visible after compilation) contains:

        currency (``str``):
            N/A

        amount (``int`` ``64-bit``):
            N/A

        days (``int`` ``32-bit``):
            N/A

        crypto_currency (``str``, *optional*):
            N/A

        crypto_amount (``int`` ``64-bit``, *optional*):
            N/A

        message (:obj:`TextWithEntities <pyrogram.raw.base.TextWithEntities>`, *optional*):
            N/A

As you'll notice it currently uses days not months
Kept month_count in case anyone is using it

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 10, 2026

Not up to standards ⛔

🔴 Issues 2 minor

Alerts:
⚠ 2 issues (≤ 0 issues of at least minor severity)

Results:
2 new issues

Category Results
Documentation 1 minor
CodeStyle 1 minor

View in Codacy

🟢 Metrics 10 complexity · 0 duplication

Metric Results
Complexity 10
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@msx98
Copy link
Copy Markdown
Author

msx98 commented Apr 10, 2026

Opening another branch for this so my main doesnt get synced into this

@msx98 msx98 closed this Apr 10, 2026
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