---
source: src/types/tests/sticker.rs
expression: "Sticker::new(\"test file id\", \"unique-id\", StickerType::Regular, 512,\n512).with_thumbnail(PhotoSize::new(\"file-id\", \"unique-thumb-id\", 24,\n24).with_file_size(12324)).with_emoji(\":D\").with_set_name(\"sticker set name\").with_mask_position(MaskPosition::new(MaskPositionPoint::Forehead,\n3.0, 3.0,\n2.0)).with_file_size(1234).with_is_animated(false).with_is_video(false).with_premium_animation(File::new(\"file-id\",\n\"file-unique-id\")).with_custom_emoji_id(String::from(\"emoji-id\")).with_needs_repainting(true)"
---
{
  "file_id": "test file id",
  "file_unique_id": "unique-id",
  "height": 512,
  "is_animated": false,
  "is_video": false,
  "type": "regular",
  "width": 512,
  "custom_emoji_id": "emoji-id",
  "emoji": ":D",
  "file_size": 1234,
  "mask_position": {
    "point": "forehead",
    "scale": 3.0,
    "x_shift": 3.0,
    "y_shift": 2.0
  },
  "needs_repainting": true,
  "premium_animation": {
    "file_id": "file-id",
    "file_unique_id": "file-unique-id"
  },
  "set_name": "sticker set name",
  "thumbnail": {
    "file_id": "file-id",
    "file_unique_id": "unique-thumb-id",
    "height": 24,
    "width": 24,
    "file_size": 12324
  }
}
