Skip to content

GramIO API Reference / @gramio/contexts/dist / ChatPhoto

Class: ChatPhoto

Defined in: contexts/index.d.ts:3459

This object represents a chat photo.

Constructors

Constructor

new ChatPhoto(payload): ChatPhoto

Defined in: contexts/index.d.ts:3461

Parameters

ParameterType
payloadTelegramChatPhoto

Returns

ChatPhoto

Properties

PropertyTypeDefined in
payloadTelegramChatPhotocontexts/index.d.ts:3460

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

Defined in: contexts/index.d.ts:3463

MDN

Returns

string


bigFileId

Get Signature

get bigFileId(): string

Defined in: contexts/index.d.ts:3480

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.

Returns

string


bigFileUniqueId

Get Signature

get bigFileUniqueId(): string

Defined in: contexts/index.d.ts:3486

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.

Returns

string


smallFileId

Get Signature

get smallFileId(): string

Defined in: contexts/index.d.ts:3469

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.

Returns

string


smallFileUniqueId

Get Signature

get smallFileUniqueId(): string

Defined in: contexts/index.d.ts:3475

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.

Returns

string