{
  "name": "LinkPreviewOptions",
  "anchor": "linkpreviewoptions",
  "description": [
    "Describes the options used for link preview generation."
  ],
  "table": {
    "headers": [
      "Field",
      "Type",
      "Description"
    ],
    "rows": [
      {
        "field": "is_disabled",
        "type": "Boolean",
        "description": "Optional . True , if the link preview is disabled"
      },
      {
        "field": "url",
        "type": "String",
        "description": "Optional . URL to use for the link preview. If empty, then the first URL found in the message text will be used"
      },
      {
        "field": "prefer_small_media",
        "type": "Boolean",
        "description": "Optional . True , if the media in the link preview is supposed to be shrunk; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview"
      },
      {
        "field": "prefer_large_media",
        "type": "Boolean",
        "description": "Optional . True , if the media in the link preview is supposed to be enlarged; ignored if the URL isn't explicitly specified or media size change isn't supported for the preview"
      },
      {
        "field": "show_above_text",
        "type": "Boolean",
        "description": "Optional . True , if the link preview must be shown above the message text; otherwise, the link preview will be shown below the message text"
      }
    ]
  },
  "notes": []
}