Class InlineQueryResultArticleType.

see
package Default

 Methods

create()

create(string $id, string $title, \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType $inputMessageContent, array|null $data = null) : \TgBotApi\BotApiBase\Type\InlineQueryResult\InlineQueryResultArticleType
Static

Parameters

$id

string

$title

string

$inputMessageContent

\TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType

$data

arraynull

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

Returns

\TgBotApi\BotApiBase\Type\InlineQueryResult\InlineQueryResultArticleType

fill()

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

Parameters

$data

array

$forbidden

array

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

 Properties

 

Optional. Short description of the result.

$description : string | null

Default

 

Optional. Pass True, if you don't want the URL to be shown in the message.

$hideUrl : boolean | null

Default

 

Content of the message to be sent.

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

Default

 

Optional. Thumbnail height.

$thumbHeight : integer | null

Default

 

Optional. Url of the thumbnail for the result.

$thumbUrl : string | null

Default

 

Optional. Thumbnail width.

$thumbWidth : integer | null

Default

 

Title of the result.

$title : string

Default

 

Optional. URL of the result.

$url : string | null

Default