class InputFile (View source)

Class InputFile.

Methods

__construct( string $filePath)

Creates a new InputFile entity.

string
getFileName()

Return the name of the file.

resource
open()

Opens file stream.

Details

at line 30
__construct( string $filePath)

Creates a new InputFile entity.

Parameters

string $filePath

Exceptions

TelegramSDKException

at line 40
string getFileName()

Return the name of the file.

Return Value

string

at line 52
resource open()

Opens file stream.

Return Value

resource

Exceptions

TelegramSDKException