From 1732546349260f8d39bdb20c98c8734fbdcbd057 Mon Sep 17 00:00:00 2001 From: Yuu Date: Sun, 27 Apr 2025 02:30:19 +0200 Subject: [PATCH] Add changelog for StarAmount mapping bugfix --- CHANGES/1680.bugfix.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 CHANGES/1680.bugfix.rst diff --git a/CHANGES/1680.bugfix.rst b/CHANGES/1680.bugfix.rst new file mode 100644 index 00000000..ed55ae85 --- /dev/null +++ b/CHANGES/1680.bugfix.rst @@ -0,0 +1,2 @@ +Fixed an issue in the :code:`StarAmount` type where the field :code:`amount` was not correctly deserialized when retrieving the business account star balance. +The response from the Telegram API contains the field `star_count`, which now correctly maps to the `amount` field in the `StarAmount` class. \ No newline at end of file