Skip to content

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

Class: SuggestedPostRefunded ​

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

Describes a service message about a payment refund for a suggested post.

Documentation

Constructors ​

Constructor ​

new SuggestedPostRefunded(payload): SuggestedPostRefunded

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

Parameters ​

ParameterType
payloadTelegramSuggestedPostRefunded

Returns ​

SuggestedPostRefunded

Properties ​

PropertyTypeDefined in
payloadTelegramSuggestedPostRefundedcontexts/index.d.ts:3055

Accessors ​

[toStringTag] ​

Get Signature ​

get [toStringTag](): string

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

MDN

Returns ​

string


reason ​

Get Signature ​

get reason(): TelegramSuggestedPostRefundedReason

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

Reason for the refund. Currently, one of "post_deleted", or "payment_refunded"

Returns ​

TelegramSuggestedPostRefundedReason