L iv BdZddlmZddlmZddlmZGddeZy)zEThis module contains an object that represents a Telegram StarAmount.)Optional)TelegramObject)JSONDictc JeZdZdZdZ d dddedeedeeffdZxZ S) StarAmountaDescribes an amount of Telegram Stars. Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their :attr:`amount` and :attr:`nanostar_amount` are equal. Args: amount (:obj:`int`): Integer amount of Telegram Stars, rounded to ``0``; can be negative. nanostar_amount (:obj:`int`, optional): The number of :tg-const:`telegram.constants.Nanostar.VALUE` shares of Telegram Stars; from :tg-const:`telegram.constants.NanostarLimit.MIN_AMOUNT` to :tg-const:`telegram.constants.NanostarLimit.MAX_AMOUNT`; can be negative if and only if :attr:`amount` is non-positive. Attributes: amount (:obj:`int`): Integer amount of Telegram Stars, rounded to ``0``; can be negative. nanostar_amount (:obj:`int`): Optional. The number of :tg-const:`telegram.constants.Nanostar.VALUE` shares of Telegram Stars; from :tg-const:`telegram.constants.NanostarLimit.MIN_AMOUNT` to :tg-const:`telegram.constants.NanostarLimit.MAX_AMOUNT`; can be negative if and only if :attr:`amount` is non-positive. )amountnanostar_amountN api_kwargsrr r ct||||_||_|j|jf|_|j y)Nr )super__init__rr _id_attrs_freeze)selfrr r __class__s h/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/telegram/_payment/stars/staramount.pyrzStarAmount.__init__5sC J/! .=++t';';< )N) __name__ __module__ __qualname____doc__ __slots__intrrr __classcell__)rs@rrrsM..I *.  *.  "#  X&  rrN)rtypingrtelegram._telegramobjectrtelegram._utils.typesrrrrr s &L3*''r