Class InlineQueryResultArticleType.
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
array
null
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
Optional. Pass True, if you don't want the URL to be shown in the message.
$hideUrl : boolean | null
Content of the message to be sent.
$inputMessageContent : \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType
Optional. Thumbnail height.
$thumbHeight : integer | null
Optional. Url of the thumbnail for the result.
$thumbUrl : string | null
Optional. Thumbnail width.
$thumbWidth : integer | null
Title of the result.
$title : string
Optional. URL of the result.
$url : string | null