Class InlineQueryResultPhotoType.

see
package Default

 Methods

create()

create(\TgBotApi\BotApiBase\Type\InlineQueryResult\string $id, \TgBotApi\BotApiBase\Type\InlineQueryResult\string $photoUrl, \TgBotApi\BotApiBase\Type\InlineQueryResult\string $thumbUrl, array $data = null
Static

Parameters

$id

$photoUrl

$thumbUrl

$data

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

fill()

fill(array $data, array $forbidden = array()
Inherited

Parameters

$data

array

$forbidden

array

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

 Properties

 

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

$caption : string | null

Default

 

Optional. List of special entities that appear in the caption, which can be specified instead of parse_mode.

$captionEntities : array<mixed,\TgBotApi\BotApiBase\Type\MessageEntityType> | null

Default

 

Optional. Short description of the result.

$description : string | null

Default

 

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

$inputMessageContent : \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType | null

Default

 

Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.

$parseMode : string | null

Default

 

Optional. Height of the photo.

$photoHeight : integer | null

Default

 

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

$photoUrl : string

Default

 

Optional. Width of the photo.

$photoWidth : integer | null

Default

 

URL of the thumbnail for the photo.

$thumbUrl : string

Default

 

Optional. Title for the result.

$title : string | null

Default