---
source: src/types/tests/gift.rs
expression: expected_struct.clone()
---
{
  "gift": {
    "backdrop": {
      "colors": {
        "center_color": 1,
        "edge_color": 2,
        "symbol_color": 3,
        "text_color": 4
      },
      "name": "name",
      "rarity_per_mille": 5
    },
    "base_name": "base-name",
    "gift_id": "gift-id",
    "model": {
      "name": "name",
      "rarity_per_mille": 6,
      "sticker": {
        "file_id": "file-id",
        "file_unique_id": "file-unique-id",
        "height": 512,
        "is_animated": false,
        "is_video": false,
        "type": "regular",
        "width": 512
      }
    },
    "name": "name",
    "number": 7,
    "symbol": {
      "name": "name",
      "rarity_per_mille": 8,
      "sticker": {
        "file_id": "file-id",
        "file_unique_id": "file-unique-id",
        "height": 512,
        "is_animated": false,
        "is_video": false,
        "type": "regular",
        "width": 512
      }
    },
    "colors": {
      "dark_theme_main_color": 1,
      "dark_theme_other_colors": [
        2
      ],
      "light_theme_main_color": 3,
      "light_theme_other_colors": [
        4
      ],
      "model_custom_emoji_id": "test",
      "symbol_custom_emoji_id": "test"
    },
    "is_from_blockchain": true,
    "is_premium": true,
    "publisher_chat": {
      "type": "private",
      "id": 1,
      "first_name": "John"
    }
  },
  "origin": "transfer"
}
