From 9665b6315e028483f4db906a84e0c618157cc2be Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sat, 16 Aug 2025 13:41:34 +0300 Subject: Add some new stuff to types --- src/types/GiftInfo.zig | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/types/GiftInfo.zig (limited to 'src/types/GiftInfo.zig') diff --git a/src/types/GiftInfo.zig b/src/types/GiftInfo.zig new file mode 100644 index 0000000..37b8cc6 --- /dev/null +++ b/src/types/GiftInfo.zig @@ -0,0 +1,11 @@ +const Gift = @import("Gift.zig"); +const MessageEntity = @import("MessageEntity.zig"); + +gift: Gift, +owned_gift_id: ?[]const u8 = null, +convert_star_count: ?u64 = null, +prepaid_upgrade_star_count: ?u64 = null, +can_be_upgraded: bool = false, +text: ?[]const u8 = null, +entities: ?[]MessageEntity = null, +is_private: bool = false, -- cgit v1.2.3