TelegramBotPHP
A very simple PHP Telegram Bot API for sending messages
Static Public Member Functions
TelegramErrorLogger Class Reference

Static Public Member Functions

static log ($result, $content, $use_rt=true)
 Log request and response parameters from/to Telegram API. More...
 

Detailed Description

Telegram Error Logger Class.

Author
shakibonline shaki.nosp@m.ba_9.nosp@m.@yaho.nosp@m.o.co.nosp@m.m

Member Function Documentation

◆ log()

static log (   $result,
  $content,
  $use_rt = true 
)
static

Log request and response parameters from/to Telegram API.

Prints the list of parameters from/to Telegram's API endpoint

Parameters
$resultthe Telegram's response as array
$contentthe request parameters as array.

The documentation for this class was generated from the following file: