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 32
__construct( string $filePath)

Creates a new InputFile entity.

Parameters

string $filePath

Exceptions

TelegramSDKException

at line 42
string getFileName()

Return the name of the file.

Return Value

string

at line 54
resource open()

Opens file stream.

Return Value

resource

Exceptions

TelegramSDKException