Skip to content

MTProto Update: gifted_premium.py argument mismatch#175

Open
msx98 wants to merge 1 commit intoMayuri-Chan:mainfrom
msx98:tlschema-fix-1
Open

MTProto Update: gifted_premium.py argument mismatch#175
msx98 wants to merge 1 commit intoMayuri-Chan:mainfrom
msx98:tlschema-fix-1

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

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

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

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