zendesk-messaging-client
    Preparing search index...

    Type Alias Reply

    type Reply = {
        iconUrl?: string;
        metadata?: Metadata;
        payload: string;
        text: string;
        type: string;
    }
    Index

    Properties

    iconUrl?: string

    An icon to render next to the reply option.

    metadata?: Metadata
    payload: string

    A string payload to help you identify the action context. Used when posting the reply. You can also use metadata for more complex needs.

    text: string

    The button text. We recommend a non-empty value because some channels may not support empty ones. Text longer than 20 characters will be truncated on Facebook Messenger, and longer than 40 characters will be truncated on Web Messenger, iOS, and Android.

    type: string

    The type of action.