ReqEmbed.Photo (ReqEmbed v0.1.2)

View Source

The photo type used to represent static photos.

Spec: 2.3.4.1. The photo type

Includes all base ReqEmbed.Link fields plus:

  • url (required) - The source URL of the image. Consumers should be able to insert this URL into an <img> element. Only HTTP and HTTPS URLs are valid
  • width (required) - The width in pixels of the image specified in the url parameter
  • height (required) - The height in pixels of the image specified in the url parameter