class ChatPhoto

This object represents a chat photo.

Methods

__construct(string $small_file_id, string $small_file_unique_id, string $big_file_id, string $big_file_unique_id)

No description

string
getSmallFileId()

File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

string
getSmallFileUniqueId()

Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

string
getBigFileId()

File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

string
getBigFileUniqueId()

Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

Details

at line 16
__construct(string $small_file_id, string $small_file_unique_id, string $big_file_id, string $big_file_unique_id)

No description

Parameters

string $small_file_id
string $small_file_unique_id
string $big_file_id
string $big_file_unique_id

at line 27
string getSmallFileId()

File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

Return Value

string

at line 35
string getSmallFileUniqueId()

Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

Return Value

string

at line 43
string getBigFileId()

File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

Return Value

string

at line 51
string getBigFileUniqueId()

Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

Return Value

string