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

This object represents a message. More...

Inheritance diagram for PhpBotFramework\Entities\Message:

Public Member Functions

string getText ()
 Get text parameter if it is set. More...
 
$chat_id getChatID ()
 Get the chat ID where the result comes from. More...
 
 getMessageId ()
 

Detailed Description

This object represents a message.

Member Function Documentation

◆ getChatID()

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

Get the chat ID where the result comes from.

Returns
$chat_id Chat ID.

◆ getText()

string PhpBotFramework\Entities\Message::getText ( )

Get text parameter if it is set.

Returns
string If set or null otherwise.

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