umbot - v2.0.8
    Preparing search index...

    Interface ISberSmartAppCardAction

    Действие карточки Описывает поведение при взаимодействии

    interface ISberSmartAppCardAction {
        type: "text" | "send_contact_phone" | "deep_link";
        text?: string;
        should_send_to_backend?: boolean;
        send_contact_phone?: number;
        template?: string;
        deep_link?: string;
    }
    Index

    Properties

    type: "text" | "send_contact_phone" | "deep_link"

    Тип действия

    • text - отправка сообщения
    • send_contact_phone - отправка номера
    • deep_link - открытие ссылки
    text?: string

    Текст сообщения Для type='text'

    should_send_to_backend?: boolean

    Отправка в бэкенд Для type='text'

    true
    
    send_contact_phone?: number

    ID контакта Для type='send_contact_phone'

    template?: string

    Шаблон сообщения Для type='send_contact_phone'

    deep_link?: string

    Ссылка Для type='deep_link'