zendesk-messaging-client
    Preparing search index...

    Type Alias Buy

    type Buy = {
        amount: number;
        currency?: string;
        metadata?: Metadata;
        text: string;
        type: string;
    }
    Index

    Properties

    amount: number

    The amount being charged. It needs to be specified in cents and is an integer (9.99$ -> 999).

    currency?: string

    An ISO 4217 standard currency code in lowercase. Used for actions of type buy.

    metadata?: Metadata
    text: string

    The button text.

    type: string

    The type of action.