Page MenuHomePhabricator (Chris)

InputTextMessageContent.php
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

InputTextMessageContent.php

<?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\InputMessageContent;
use Longman\TelegramBot\Entities\InlineQuery\InlineEntity;
/**
* Class InputTextMessageContent
*
* @link https://core.telegram.org/bots/api#inputtextmessagecontent
*
* <code>
* $data = [
* 'message_text' => '',
* 'parse_mode' => '',
* 'disable_web_page_preview' => true,
* ];
* </code>
*
* @method string getMessageText() Text of the message to be sent, 1-4096 characters.
* @method string getParseMode() Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message.
* @method bool getDisableWebPagePreview() Optional. Disables link previews for links in the sent message
*
* @method $this setMessageText(string $message_text) Text of the message to be sent, 1-4096 characters.
* @method $this setParseMode(string $parse_mode) Optional. Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message.
* @method $this setDisableWebPagePreview(bool $disable_web_page_preview) Optional. Disables link previews for links in the sent message
*/
class InputTextMessageContent extends InlineEntity implements InputMessageContent
{
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 15, 12:04 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
139359
Default Alt Text
InputTextMessageContent.php (1 KB)

Event Timeline