phpbotgram

TelegramApiServer
in package

Read onlyYes
FinalYes

Table of Contents

Properties

$base  : string
$file  : string
$isLocal  : bool

Methods

__construct()  : mixed
apiUrl()  : string
fileUrl()  : string
fromBase()  : self
production()  : self
test()  : self

Properties

Methods

__construct()

public __construct(string $base, string $file[, bool $isLocal = false ]) : mixed
Parameters
$base : string
$file : string
$isLocal : bool = false

apiUrl()

public apiUrl(string $token, string $method) : string
Parameters
$token : string
$method : string
Return values
string

fileUrl()

public fileUrl(string $token, string $path) : string
Parameters
$token : string
$path : string
Return values
string

fromBase()

public static fromBase(string $base[, bool $isLocal = false ]) : self
Parameters
$base : string
$isLocal : bool = false
Return values
self
On this page

Search results