Page MenuHomePhabricator (Chris)

InputRichBlockBlockQuotation.php
No OneTemporary

Authored By
Unknown
Size
973 B
Referenced Files
None
Subscribers
None

InputRichBlockBlockQuotation.php

<?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

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)

Event Timeline