PHP code example of carbon / papertiger-telegram

1. Go to this page and download the library: Download carbon/papertiger-telegram library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

carbon / papertiger-telegram example snippets

yaml
Carbon:
  PaperTiger:
    Telegram:
      allowableTags: '<b><strong><i><em><u><ins><s><del><strike><a><tg-spoiler><tg-emoji><code><pre><blockquote><br>'
      apiUrl: 'https://api.telegram.org'
      apiKey: null
      chatId: null
      requestOptions:
        disable_web_page_preview: false
        parse_mode: HTML