Skip to content

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

Class: SuggestedPostApproved

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

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

Documentation

Constructors

Constructor

new SuggestedPostApproved(payload): SuggestedPostApproved

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

Parameters

ParameterType
payloadTelegramSuggestedPostApproved

Returns

SuggestedPostApproved

Properties

PropertyTypeDefined in
payloadTelegramSuggestedPostApprovedcontexts/index.d.ts:2696

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


price

Get Signature

get price(): SuggestedPostPrice

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

Optional. Amount paid for the post

Returns

SuggestedPostPrice


sendDate

Get Signature

get sendDate(): number

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

Date when the post will be published

Returns

number