{
  "meta": {},
  "group": {
    "title": "Available types",
    "anchor": "available-types"
  },
  "object": {
    "anchor": "gift",
    "name": "Gift",
    "description": "This object represents a gift that can be sent by the bot.",
    "html_description": "<p>This object represents a gift that can be sent by the bot.</p>",
    "rst_description": "This object represents a gift that can be sent by the bot.",
    "annotations": [
      {
        "type": "String",
        "description": "Unique identifier of the gift",
        "html_description": "<td>Unique identifier of the gift</td>",
        "rst_description": "Unique identifier of the gift\n",
        "name": "id",
        "required": true
      },
      {
        "type": "Sticker",
        "description": "The sticker that represents the gift",
        "html_description": "<td>The sticker that represents the gift</td>",
        "rst_description": "The sticker that represents the gift\n",
        "name": "sticker",
        "required": true
      },
      {
        "type": "Integer",
        "description": "The number of Telegram Stars that must be paid to send the sticker",
        "html_description": "<td>The number of Telegram Stars that must be paid to send the sticker</td>",
        "rst_description": "The number of Telegram Stars that must be paid to send the sticker\n",
        "name": "star_count",
        "required": true
      },
      {
        "type": "Integer",
        "description": "The number of Telegram Stars that must be paid to upgrade the gift to a unique one",
        "html_description": "<td><em>Optional</em>. The number of Telegram Stars that must be paid to upgrade the gift to a unique one</td>",
        "rst_description": "*Optional*. The number of Telegram Stars that must be paid to upgrade the gift to a unique one\n",
        "name": "upgrade_star_count",
        "required": false
      },
      {
        "type": "True",
        "description": "True, if the gift can only be purchased by Telegram Premium subscribers",
        "html_description": "<td><em>Optional</em>. <em>True</em>, if the gift can only be purchased by Telegram Premium subscribers</td>",
        "rst_description": "*Optional*. :code:`True`, if the gift can only be purchased by Telegram Premium subscribers\n",
        "name": "is_premium",
        "required": false
      },
      {
        "type": "True",
        "description": "True, if the gift can be used (after being upgraded) to customize a user's appearance",
        "html_description": "<td><em>Optional</em>. <em>True</em>, if the gift can be used (after being upgraded) to customize a user's appearance</td>",
        "rst_description": "*Optional*. :code:`True`, if the gift can be used (after being upgraded) to customize a user's appearance\n",
        "name": "has_colors",
        "required": false
      },
      {
        "type": "Integer",
        "description": "The total number of gifts of this type that can be sent by all users; for limited gifts only",
        "html_description": "<td><em>Optional</em>. The total number of gifts of this type that can be sent by all users; for limited gifts only</td>",
        "rst_description": "*Optional*. The total number of gifts of this type that can be sent by all users; for limited gifts only\n",
        "name": "total_count",
        "required": false
      },
      {
        "type": "Integer",
        "description": "The number of remaining gifts of this type that can be sent by all users; for limited gifts only",
        "html_description": "<td><em>Optional</em>. The number of remaining gifts of this type that can be sent by all users; for limited gifts only</td>",
        "rst_description": "*Optional*. The number of remaining gifts of this type that can be sent by all users; for limited gifts only\n",
        "name": "remaining_count",
        "required": false
      },
      {
        "type": "Integer",
        "description": "The total number of gifts of this type that can be sent by the bot; for limited gifts only",
        "html_description": "<td><em>Optional</em>. The total number of gifts of this type that can be sent by the bot; for limited gifts only</td>",
        "rst_description": "*Optional*. The total number of gifts of this type that can be sent by the bot; for limited gifts only\n",
        "name": "personal_total_count",
        "required": false
      },
      {
        "type": "Integer",
        "description": "The number of remaining gifts of this type that can be sent by the bot; for limited gifts only",
        "html_description": "<td><em>Optional</em>. The number of remaining gifts of this type that can be sent by the bot; for limited gifts only</td>",
        "rst_description": "*Optional*. The number of remaining gifts of this type that can be sent by the bot; for limited gifts only\n",
        "name": "personal_remaining_count",
        "required": false
      },
      {
        "type": "GiftBackground",
        "description": "Background of the gift",
        "html_description": "<td><em>Optional</em>. Background of the gift</td>",
        "rst_description": "*Optional*. Background of the gift\n",
        "name": "background",
        "required": false
      },
      {
        "type": "Integer",
        "description": "The total number of different unique gifts that can be obtained by upgrading the gift",
        "html_description": "<td><em>Optional</em>. The total number of different unique gifts that can be obtained by upgrading the gift</td>",
        "rst_description": "*Optional*. The total number of different unique gifts that can be obtained by upgrading the gift\n",
        "name": "unique_gift_variant_count",
        "required": false
      },
      {
        "type": "Chat",
        "description": "Information about the chat that published the gift",
        "html_description": "<td><em>Optional</em>. Information about the chat that published the gift</td>",
        "rst_description": "*Optional*. Information about the chat that published the gift\n",
        "name": "publisher_chat",
        "required": false
      }
    ],
    "category": "types"
  }
}
