{
  "name": "GiftInfo",
  "anchor": "giftinfo",
  "description": [
    "Describes a service message about a regular gift that was sent or received."
  ],
  "table": {
    "headers": [
      "Field",
      "Type",
      "Description"
    ],
    "rows": [
      {
        "field": "gift",
        "type": "Gift",
        "description": "Information about the gift"
      },
      {
        "field": "owned_gift_id",
        "type": "String",
        "description": "Optional . Unique identifier of the received gift for the bot; only present for gifts received on behalf of business accounts"
      },
      {
        "field": "convert_star_count",
        "type": "Integer",
        "description": "Optional . Number of Telegram Stars that can be claimed by the receiver by converting the gift; omitted if conversion to Telegram Stars is impossible"
      },
      {
        "field": "prepaid_upgrade_star_count",
        "type": "Integer",
        "description": "Optional . Number of Telegram Stars that were prepaid for the ability to upgrade the gift"
      },
      {
        "field": "is_upgrade_separate",
        "type": "True",
        "description": "Optional . True , if the gift's upgrade was purchased after the gift was sent"
      },
      {
        "field": "can_be_upgraded",
        "type": "True",
        "description": "Optional . True , if the gift can be upgraded to a unique gift"
      },
      {
        "field": "text",
        "type": "String",
        "description": "Optional . Text of the message that was added to the gift"
      },
      {
        "field": "entities",
        "type": "Array of MessageEntity",
        "description": "Optional . Special entities that appear in the text"
      },
      {
        "field": "is_private",
        "type": "True",
        "description": "Optional . True , if the sender and gift text are shown only to the gift receiver; otherwise, everyone will be able to see them"
      },
      {
        "field": "unique_gift_number",
        "type": "Integer",
        "description": "Optional . Unique number reserved for this gift when upgraded. See the number field in UniqueGift"
      }
    ]
  },
  "notes": []
}