PHP Class Longman\TelegramBot\Entities\Update

Inheritance: extends Entity
Mostrar archivo Open project: akalongman/php-telegram-bot Class Usage Examples

Public Methods

Method Description
getUpdateContent ( ) : CallbackQuery Get update content
getUpdateType ( ) : string | null Get the update type based on the set properties

Protected Methods

Method Description
subEntities ( )

Method Details

getUpdateContent() public method

Get update content
public getUpdateContent ( ) : CallbackQuery
return CallbackQuery |\Longman\TelegramBot\Entities\ChosenInlineResult |\Longman\TelegramBot\Entities\InlineQuery |\Longman\TelegramBot\Entities\Message

getUpdateType() public method

Get the update type based on the set properties
public getUpdateType ( ) : string | null
return string | null

subEntities() protected method

protected subEntities ( )