Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.

Hierarchy

Index

Properties

Optional caption

caption: string

Caption of the photo to be sent, 0-200 characters.

Optional description

description: string

Short description of the result.

id

id: string

Unique identifier for this result, 1-64 bytes.

Optional input_message_content

input_message_content: IInputMessageContent

Content of the message to be sent instead of the photo.

Optional photo_height

photo_height: number

Height of the photo.

photo_url

photo_url: string

A valid URL of the photo. Photo must be in jpeg format. Photo size must not exceed 5MB.

Optional photo_width

photo_width: number

Width of the photo.

Optional reply_markup

reply_markup: IInlineKeyboardMarkup

Inline keyboard attached to the message.

thumb_url

thumb_url: string

URL of the thumbnail for the photo.

title

title: string

Title for the result.

type

type: string

Type of the result, must be photo.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc