Skip to content

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

Class: PaidMediaLivePhoto ​

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

The paid media is a live photo.

Documentation

Constructors ​

Constructor ​

new PaidMediaLivePhoto(payload): PaidMediaLivePhoto

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

Parameters ​

ParameterType
payloadTelegramPaidMediaLivePhoto

Returns ​

PaidMediaLivePhoto

Properties ​

PropertyTypeDefined in
payloadTelegramPaidMediaLivePhotocontexts/index.d.ts:2183

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

Returns ​

string


livePhoto ​

Get Signature ​

get livePhoto(): LivePhotoAttachment

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

The live photo

Returns ​

LivePhotoAttachment


type ​

Get Signature ​

get type(): "live_photo"

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

Type of the paid media, always “live_photo”

Returns ​

"live_photo"