BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
app.imagivibe.com
/
vendor
/
irazasyed
/
telegram-bot-sdk
/
src
/
Objects
đ¤ Upload
đ New File
đ New Folder
Close
Editing: MessageEntity.php
<?php namespace Telegram\Bot\Objects; /** * Class MessageEntity. * * @link https://core.telegram.org/bots/api#messageentity * * @property string $type Type of the entity. Can be âmentionâ (@username), âhashtagâ (#hashtag), âcashtagâ ($USD), âbot_commandâ (/start@jobs_bot), âurlâ (https://telegram.org), âemailâ (do-not-reply@telegram.org), âphone_numberâ (+1-212-555-0123), âboldâ (bold text), âitalicâ (italic text), âunderlineâ (underlined text), âstrikethroughâ (strikethrough text), âcodeâ (monowidth string), âpreâ (monowidth block), âtext_linkâ (for clickable text URLs), âtext_mentionâ (for users without usernames) * @property int $offset Offset in UTF-16 code units to the start of the entity * @property int $length Length of the entity in UTF-16 code units * @property string|null $url (Optional). For "text_link" only, url that will be opened after user taps on the text. * @property User|null $user (Optional). For âtext_mentionâ only, the mentioned user. * @property string|null $language (Optional). For âpreâ only, the programming language of the entity text. */ class MessageEntity extends BaseObject { /** * {@inheritdoc} * * @return array{user: string} */ public function relations(): array { return [ 'user' => User::class, ]; } }
Save
Cancel