TelegramPHP Documentation

InlineQueryBehaviour

Answering an inline query.

Tags
author

Valithor Obsidion valithor@valgorithms.com

Table of Contents

Methods

answer()  : PromiseInterface<string|int, bool>
Answers with up to 50 results.

Methods

answer()

Answers with up to 50 results.

public answer(array<int, array<string, mixed>|JsonSerializable$results[, array<string, mixed> $options = [] ]) : PromiseInterface<string|int, bool>
Parameters
$results : array<int, array<string, mixed>|JsonSerializable>
$options : array<string, mixed> = []

Any other answerInlineQuery field.

Return values
PromiseInterface<string|int, bool>
On this page

Search results