mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 17:33:44 +00:00
Add __init__ in LabeledPrice object.
This commit is contained in:
parent
dc4f18b5d7
commit
c9b5213144
1 changed files with 3 additions and 0 deletions
|
|
@ -10,3 +10,6 @@ class LabeledPrice(base.TelegramObject):
|
||||||
"""
|
"""
|
||||||
label: base.String = fields.Field()
|
label: base.String = fields.Field()
|
||||||
amount: base.Integer = fields.Field()
|
amount: base.Integer = fields.Field()
|
||||||
|
|
||||||
|
def __init__(self, label: base.String, amount: base.Integer):
|
||||||
|
super(LabeledPrice, self).__init__(label=label, amount=amount)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue