Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627920
ReplyToMessage.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
824 B
Referenced Files
None
Subscribers
None
ReplyToMessage.php
View Options
<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace
Longman
\
TelegramBot
\
Entities
;
/**
* Class ReplyToMessage
*
* @todo Is this even required?!
*/
class
ReplyToMessage
extends
Message
{
/**
* ReplyToMessage constructor.
*
* @param array $data
* @param string $bot_username
*/
public
function
__construct
(
array
$data
,
string
$bot_username
=
''
)
{
//As explained in the documentation
//Reply to message can't contain other reply to message entities
unset
(
$data
[
'reply_to_message'
]
)
;
parent
::
__construct
(
$data
,
$bot_username
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 15, 2:59 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122237
Default Alt Text
ReplyToMessage.php (824 B)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline