{"repo":"danog/telegram-entities","free":true,"listed":false,"github":"https://github.com/danog/telegram-entities","clone":"git clone https://github.com/danog/telegram-entities.git","description":"A library to work with Telegram UTF-16 styled text entities.","language":"PHP","stars":25,"topics":["telegram","telegram-bot","telegram-bot-api","telegram-entities","telegram-entity"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"telegram-entities A library to work with Telegram UTF-16 styled text entities, created by Daniil Gentili (https://daniil.it). This library can be used to modify entities returned by the Telegram Bot API, convert entities to HTML or even locally generate them using a custom MarkdownV2 and HTML parser inside of the library. This library was initially created for MadelineProto, an async PHP client API for the telegram MTProto protocol. Installation Usage test';\"); $entities = Entities::fromMarkdown(\"This is a ❤️ nested $code \\ $generic \"); $sm($entities- message, entities: $entities- entities); // Escape text for the HTML parser! $generic = EntityTools::htmlEscape(\"Automatically escaped to prevent HTML injection !\"); $entities = Entities::fromHtml($generic); $sm($entities- message, entities: $entities- entities); // See https://github.com/danog/telegram-entities for the full list of available methods! Many more methods are available, see the API documentation for the full list! API Documentation Click here &raquo; to view the API documentation.","default_branch":null,"files":null,"tree":[],"storefront":"/r/danog","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danog/telegram-entities/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}