PhpBotFramework  2.0.2
A framework for Telegram Bots' APIs.
Public Member Functions | List of all members
PhpBotFramework\Entities\ChosenInlineResult Class Reference

Represents the result of an inline query that was chosen by the user. More...

Inheritance diagram for PhpBotFramework\Entities\ChosenInlineResult:

Public Member Functions

$query getQuery ()
 Get result's query. More...
 
$chat_id getChatID ()
 Get the chat ID where the result comes from. More...
 

Detailed Description

Represents the result of an inline query that was chosen by the user.

Member Function Documentation

◆ getChatID()

$chat_id PhpBotFramework\Entities\ChosenInlineResult::getChatID ( )

Get the chat ID where the result comes from.

Returns
$chat_id Chat ID.

◆ getQuery()

$query PhpBotFramework\Entities\ChosenInlineResult::getQuery ( )

Get result's query.

Returns
$query Null if it's empty.

The documentation for this class was generated from the following file: