Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F629788
InputRichBlockBlockQuotation.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
973 B
Referenced Files
None
Subscribers
None
InputRichBlockBlockQuotation.php
View Options
<?php
namespace
Longman
\
TelegramBot
\
Entities
\
InputRichBlock
;
use
Longman
\
TelegramBot
\
Entities
\
Entity
;
use
Longman
\
TelegramBot
\
Entities
\
RichText
\
Factory
as
RichTextFactory
;
/**
* Class InputRichBlockBlockQuotation
*
* A block quotation.
*
* @link https://core.telegram.org/bots/api#inputrichblockblockquotation
*
* @method InputRichBlock[] getBlocks() Content of the block
* @method RichText getCredit() Optional. Credit of the block
*/
class
InputRichBlockBlockQuotation
extends
Entity
implements
InputRichBlock
{
/**
* InputRichBlockBlockQuotation constructor
*
* @param array $data
*/
public
function
__construct
(
array
$data
=
[
]
)
{
$data
[
'type'
]
=
'blockquote'
;
parent
::
__construct
(
$data
)
;
}
/**
* {@inheritdoc}
*/
protected
function
subEntities
(
)
:
array
{
return
[
'blocks'
=>
[
Factory
::
class
]
,
'credit'
=>
RichTextFactory
::
class
,
]
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 15, 7:47 AM (2 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
152165
Default Alt Text
InputRichBlockBlockQuotation.php (973 B)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline