Skip to content

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

Class: SuggestedPostApproved

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

Describes a service message about the approval of a suggested post.

Documentation

Constructors

Constructor

new SuggestedPostApproved(payload): SuggestedPostApproved

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

Parameters

ParameterType
payloadTelegramSuggestedPostApproved

Returns

SuggestedPostApproved

Properties

PropertyTypeDefined in
payloadTelegramSuggestedPostApprovedcontexts/index.d.ts:2971

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


price

Get Signature

get price(): SuggestedPostPrice

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

Optional. Amount paid for the post

Returns

SuggestedPostPrice


sendDate

Get Signature

get sendDate(): number

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

Date when the post will be published

Returns

number