Skip to content
This repository was archived by the owner on Sep 14, 2026. It is now read-only.

MTProto Update: gifted_premium.py argument mismatch - #175

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

msx98 wants to merge 1 commit into
Mayuri-Chan:mainfrom
msx98:tlschema-fix-1

Conversation

@msx98

@msx98 msx98 commented Apr 10, 2026

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant